Thanks Psycho,
I tried that solution but it will solve my half problem, actually i want
to display user a cursor and also put application in wait state that user
can not perform another action till one action is performed. means if user
click on my save button then till save action is performed and page is load
till that user can not perform any other action means he will restrict till
one action performed.
I have one solution of threading. means put application in thread and wait
that thread for some second and till that display some image after
completing this i show form to user. but it will give error when i redirect
page to another page that data can not send because of http header is
already written.
If you will know any other solution than please tell me.
Thanks once again,
"Psycho" <Ps****@discussions.microsoft.com> wrote in message
news:18**********************************@microsof t.com...
put a script on body on event onbeforeunload="ChangeCursorStatus();"
javascript:
function ChangeCursorStatus(){
document.body.style.cursor = "wait";
}
it's very unpleasant this solution because you have to put in every page,
but it works. I couldn't find any other solution to put this code
dinamically on body :(.
Cheers
"SP" wrote:
Hi,
I want to add wait cursor code whenever page is post back. Page may
be post back on my user control's or on change of dropdown or on click of
any button on page. so is there any common solution available that will
provide me mechanism to display wait cursor or wait image to user whenever page
is post back to server?
Thanks,
--