|
-
Mar 12th, 2003, 07:16 AM
#1
Thread Starter
New Member
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...
-
Mar 12th, 2003, 03:08 PM
#2
Hyperactive Member
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|