<div id="divShowLoadingGif" runat="server" style="display:none; "> <img id="img2" alt="" src="Ajax_spinner.gif" style="display: inline; height: 16px;" /> </div> <asp:Button ID="btnUpload" runat="server" ValidationGroup="u" OnClick="btnUpload_Click" OnClientClick="showloadingGif_UPLOAD();return true;" Text="Upload" />
function showloadingGif_UPLOAD() { document.getElementById('divShowLoadingGif').style.display = 'inline'; return true; }
protected void btnUpload_Click(object sender, EventArgs e) { // my code here }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)