<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function PreLoad() {
var imag = document.getElementById('imgLoading');
if (imag != null) {
imag.style.visibility = 'visible';
imag.src = image_Url;
}
return true;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button"
onclientclick="PreLoad();" />
<img id="imgLoading" alt="" src="" style="visibility:hidden" /></div>
...
</form>
</body>
</html>
<head runat="server">
<title></title>
<script type="text/javascript">
function PreLoad() {
var imag = document.getElementById('imgLoading');
if (imag != null) {
imag.style.visibility = 'visible';
imag.src = image_Url;
}
return true;
}
</script>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:Button ID="Button1" runat="server" onclick="Button1_Click" Text="Button"
onclientclick="PreLoad();" />
<img id="imgLoading" alt="" src="" style="visibility:hidden" /></div>
...
</form>
</body>
</html>