I'm basically trying to get a div containing a loading gif to show on my page at runtime. I call it from a button click event as well as in the code flow. It was working before I used the AJAX Update Panels. I've since taken them out as they were causing issues with RegisterClientScriptBlock. By the way, does commenting out the AJAX Markup like this...
<%-- <asp:UpdatePanel ID="up_search" runat="server">
...remove them from influence?
My div markup looks like this..
<div id="loading" style="visibility: hidden;" runat="server">
<img id="loading_gif" alt="Loading..." class="loading" src="Images/panel_loading.gif" />
My code is initiated from the button click event.
protected void btnSearch_Click(object sender, EventArgs e)
//show the loading image
View Complete Post