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. Display progress status information

Display progress status information

Scheduled Pinned Locked Moved ASP.NET
csharpasp-nettutorial
4 Posts 3 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.
  • R Offline
    R Offline
    Ramkithepower
    wrote on last edited by
    #1

    Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.

    C K 2 Replies Last reply
    0
    • R Ramkithepower

      Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      AJAX, probably. You'd have to make AJAX calls constantly, and show your progress as new messages come back.

      Christian Graus Driven to the arms of OSX by Vista. Please read this[^] if you don't like the answer I gave to your question. "! i don't exactly like or do programming and it only gives me a headache." - spotted in VB forums.

      1 Reply Last reply
      0
      • R Ramkithepower

        Hi All, I am developing a website in ASP.Net C#. On click of a button, i am doing several process, such as creating several files, creating reports etc. I want to display this progress to user For example If the file1 is creating, the status will have to show Creation of file1 in progress... Please let me know how this can be done.

        K Offline
        K Offline
        Kapil Thakur
        wrote on last edited by
        #3

        Use AJAX, place an update panel and keep changing text of a label based on the functionality you are doing. Example, when executing code for creating file1....put label text as creating file1. then afterwards when saving in database....put label text as saving data etc.

        Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com

        R 1 Reply Last reply
        0
        • K Kapil Thakur

          Use AJAX, place an update panel and keep changing text of a label based on the functionality you are doing. Example, when executing code for creating file1....put label text as creating file1. then afterwards when saving in database....put label text as saving data etc.

          Regards, Kapil Thakur (Where's there is Kapil , there is a way) - thakur.kapil@gmail.com

          R Offline
          R Offline
          Ramkithepower
          wrote on last edited by
          #4

          I do all that function in click of a button. the code will be some thing like this Generatereport(); GenerateFiles(); UpdateDatabase(); I created a scriptmanager and then a updatepanel and then added a label into the update panel. then i changed the code like this lbl1.Text="Updating reports"; Generatereport(); lbl1.Text="Updating Files"; GenerateFiles(); lbl1.Text="Updating Database"; UpdateDatabase(); This does not work, the code executes completely and the final label value is displayed.

          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