G
gnewsgroup
In my web application, an authenticated user can edit a lot of
personal information and then finally can click on Update/Save button
to save the info.
I did it using MultiView. When the Update or Save button is clicked,
I would like to bring up a View of the MultiView which only displays
the update progress with a spinner like this one:
http://www.mpire.com/images/sunbox_spinner.gif
And some text to the right saying something like "Your profile is
being updated...."
I would like this UpdateProgress view to stay for 5 seconds and then
either redirect to the very 1st view or output something like "Your
profile has been updated."
I was trying this through System.Threading.Thread.Sleep(5000) in the
button click handler, only to realize that http protocol is stateless,
and thus it won't work.
Right now, I am using the asp:UpdateProgress control just next to the
Update button. But, it's not nice enough.
So, if I don't wanna redirect to a different page where one can use
meta page refresh property to set the delay timemout, what can we do?
personal information and then finally can click on Update/Save button
to save the info.
I did it using MultiView. When the Update or Save button is clicked,
I would like to bring up a View of the MultiView which only displays
the update progress with a spinner like this one:
http://www.mpire.com/images/sunbox_spinner.gif
And some text to the right saying something like "Your profile is
being updated...."
I would like this UpdateProgress view to stay for 5 seconds and then
either redirect to the very 1st view or output something like "Your
profile has been updated."
I was trying this through System.Threading.Thread.Sleep(5000) in the
button click handler, only to realize that http protocol is stateless,
and thus it won't work.
Right now, I am using the asp:UpdateProgress control just next to the
Update button. But, it's not nice enough.
So, if I don't wanna redirect to a different page where one can use
meta page refresh property to set the delay timemout, what can we do?