View Single Post
Old 06-17-2005, 03:17 AM   #8 (permalink)
sujith(ARS)
Registered User
 
Join Date: May 2005
Posts: 9
sujith(ARS) is on a distinguished road
hi sde,
i'm sorry for the delay in replying.its b'cos i was out of my office for some time.
sde ur code wasn't working i don't know why?the browser can't understand the other image buttons.it works fine with any other controls except imagebutton.

i was able to fix it by using GetElement by ID functionality.
Code:
__________________________________
private void Page_Load(object sender, System.EventArgs e)
{

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

thanks for the Helps
Cheers,
Sujith
sujith@arssoftware.com
sujith(ARS) is offline   Reply With Quote