View Single Post
Old 06-07-2005, 12:31 AM   #6 (permalink)
sujith(ARS)
Registered User
 
Join Date: May 2005
Posts: 9
sujith(ARS) is on a distinguished road
hi brenda,
I'm sorry ,it worked fine.But the matter is since it's the server script the button will be disabled only when we get back the response from the server.

But my requirement is to block the submissions from any other imgbuttons while one request is being processed.

hi sde,
your code with a little modification ,i was able to block mutiple request from same button.
Code:
private void Page_Load(object sender, System.EventArgs e)
{

this.Image1.Attributes.Add("onclick", "this.value='Please wait...';this.disabled = true;" + this.GetPostBackEventReference(this.Image1));
}

But i wasn't able to disable all buttons.

Expecting more help from all
Thanks in advance
Cheers
sujith(ARS) is offline   Reply With Quote