Regards,
Satheesh
http://www.informit.com/articles/article.asp?p=174363&seqNum=2
Regards,
Satheesh
Your requirement can be done.
You have to place the image in ur ASPX page as a client side cntrol.
<img id="imgProcess" src="process.gif" style="visibility:hidden">
Then you have to add the property of the button as
btnSave.Attributes.Add("onclick","chkProgressBar();");
[this is in the page onload function]
For the chkProgressBar function you have to write the client side event
as
function ProgressBar()
{
if (!Page_ClientValidate())
return false;
else
{
document.Form1.imgWait.style.visibility = "visible";
document.Form1.submit();
}
}
The image will display imm wen the button is pressed in the client side
itself.
Happy Programming
..::STEVE
I blog at http://spaces.msn.com/members/msjawahar