Results 1 to 2 of 2

Thread: progress bar

  1. #1

    Thread Starter
    New Member
    Join Date
    Oct 2002
    Posts
    13

    Question progress bar

    we have a web application. there we have two aspx forms. the first form contains a button and a flash-progressbar which initial state is visible=false. if we press the button we want to redirect to the second form. this redirect-process takes a very long time and so we want to display the progress bar.
    in the button_clicked event method we set the progressbar visible and redirect to the page but the bar will not be displayed.

    plz help, we need it for a school project...

  2. #2
    Hyperactive Member
    Join Date
    Dec 2001
    Location
    Dublin, Ireland
    Posts
    262
    You will need client side javascript to do this:-

    Assuming your command button had an id of Submit1 and your Progress Bar had and id of PB1 then in your code behind add a client side onclick attribute:-

    Submit1.Attributes.Add("OnClick", "Javascript: document.GetElementByID("PB1").style.visibility=show;")

    You'll have to check up on javascript as I'm not sure about that code nor is it multi-browser compatible.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width