Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Web Development
  3. ASP.NET
  4. Progress bar or Status in ASPX page

Progress bar or Status in ASPX page

Scheduled Pinned Locked Moved ASP.NET
questiondatabasemysqlhelp
6 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    sudevsu
    wrote on last edited by
    #1

    Hello Experts, I have a web page that takes lot of data from users. I want that to be stored in Database. So this is taking some time. 1) How can I fetch the data from webpage and store in Database (MySQL)? Don't say Dim FirstName as String=txtFN.Text.Tostring(). I know that, but should I Use those many string variables? I almost have 50+ controls that need to saved in Database on Submit button click. what are other options for this? 2)Meanwhile, I want all the controls of the page Editable=False. It means it should show a Progress which stops the user from clicking on page here and there. I have done progress bar in Windows application 2 days back from the guidance given by experts in this Forum. Now its time to do in Web application. Please suggest me how do proceed

    Your help is much appreciated. Thanks Happy Coding!

    J 1 Reply Last reply
    0
    • S sudevsu

      Hello Experts, I have a web page that takes lot of data from users. I want that to be stored in Database. So this is taking some time. 1) How can I fetch the data from webpage and store in Database (MySQL)? Don't say Dim FirstName as String=txtFN.Text.Tostring(). I know that, but should I Use those many string variables? I almost have 50+ controls that need to saved in Database on Submit button click. what are other options for this? 2)Meanwhile, I want all the controls of the page Editable=False. It means it should show a Progress which stops the user from clicking on page here and there. I have done progress bar in Windows application 2 days back from the guidance given by experts in this Forum. Now its time to do in Web application. Please suggest me how do proceed

      Your help is much appreciated. Thanks Happy Coding!

      J Offline
      J Offline
      jkirkerx
      wrote on last edited by
      #2

      If you want to block input, then you can either disable all the textboxes or input elements Or use a Modal Overlay, sort of a shield that lays over the page and is colored. This is simple modal, it uses jquery to create a modal overlay, and what ever else you want in the center like a spinning gif image. http://www.ericmmartin.com/projects/simplemodal/[^] Or you can use the update panel in asp.net, in conjunction with the update progress. http://msdn.microsoft.com/en-us/library/bb386421%28v=vs.140%29.aspx[^] None of them are very straight forward and easy to implement. It took me years to really understand how they work and how to fully customize them. But the latter would be easier for you if your not able to write javascript or jquery. But to start, you really need a vision of how you want it to look first, and how it should respond. On the other question, how to transfer the data to the server, I'm not touching that one. It's the HTTP Protocol, and works one way. All the input elements have to be posted back to the server, and you have to catch the values on the server side. So that's 50 values for you.

      S 1 Reply Last reply
      0
      • J jkirkerx

        If you want to block input, then you can either disable all the textboxes or input elements Or use a Modal Overlay, sort of a shield that lays over the page and is colored. This is simple modal, it uses jquery to create a modal overlay, and what ever else you want in the center like a spinning gif image. http://www.ericmmartin.com/projects/simplemodal/[^] Or you can use the update panel in asp.net, in conjunction with the update progress. http://msdn.microsoft.com/en-us/library/bb386421%28v=vs.140%29.aspx[^] None of them are very straight forward and easy to implement. It took me years to really understand how they work and how to fully customize them. But the latter would be easier for you if your not able to write javascript or jquery. But to start, you really need a vision of how you want it to look first, and how it should respond. On the other question, how to transfer the data to the server, I'm not touching that one. It's the HTTP Protocol, and works one way. All the input elements have to be posted back to the server, and you have to catch the values on the server side. So that's 50 values for you.

        S Offline
        S Offline
        sudevsu
        wrote on last edited by
        #3

        Ok, I found a way to do progress bar, but my GIF images are showing as little Cross mark on ASPX page when I Run the Code. Do you know how can I get rid of Cross mark and get my progress bar work?

        Your help is much appreciated. Thanks Happy Coding!

        S J 2 Replies Last reply
        0
        • S sudevsu

          Ok, I found a way to do progress bar, but my GIF images are showing as little Cross mark on ASPX page when I Run the Code. Do you know how can I get rid of Cross mark and get my progress bar work?

          Your help is much appreciated. Thanks Happy Coding!

          S Offline
          S Offline
          sudevsu
          wrote on last edited by
          #4

          I Solved this. My GIF was not Properly placed in Images folder of Solution explorer

          Your help is much appreciated. Thanks Happy Coding!

          1 Reply Last reply
          0
          • S sudevsu

            Ok, I found a way to do progress bar, but my GIF images are showing as little Cross mark on ASPX page when I Run the Code. Do you know how can I get rid of Cross mark and get my progress bar work?

            Your help is much appreciated. Thanks Happy Coding!

            J Offline
            J Offline
            jkirkerx
            wrote on last edited by
            #5

            if your using IE, then it should be a small red X Your image url is not correct, and it the browser could not find the image. Check the HTML source, and see what the image url is, and correct it.

            S 1 Reply Last reply
            0
            • J jkirkerx

              if your using IE, then it should be a small red X Your image url is not correct, and it the browser could not find the image. Check the HTML source, and see what the image url is, and correct it.

              S Offline
              S Offline
              sudevsu
              wrote on last edited by
              #6

              I solved it before I saw your reply. And you are correct Image URL is not recognized properly.

              Your help is much appreciated. Thanks Happy Coding!

              1 Reply Last reply
              0
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • World
              • Users
              • Groups