Click here to Skip to main content
15,867,308 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have a page with a set of search criteria along with the search button in one div.

My other div contains gridview as a result of search button in the previous div.

I am using Update panel and update progress controls of Ajax.

As of now, when I hit search the entire page is disable with progress image spinning. I want to disable only the div that has grid. I want to keep the access open for the controls in the search grid along with the search button. Please suggest. My aspx is as below:

ASP.NET
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">

    <asp:UpdateProgress ID="UpdateProgress1" runat="server" AssociatedUpdatePanelID="updatePanel1">
        <progresstemplate>
            <div class="divWaiting">
                <asp:Label ID="lblWait" runat="server" Text=" Please wait... " ForeColor="Blue" />
                <asp:Image ID="imgWait" runat="server" ImageAlign="Middle" ImageUrl="~/Common/Images/loader.gif"
                    Height="10%" />
            </div>

    <asp:UpdatePanel ID="updatePanel1" runat="server" UpdateMode="Conditional">
        <triggers>
            <asp:PostBackTrigger ControlID="imgBtnExport" />
        
        <contenttemplate>
         <%-- This is a div with search button--%>
<div></div>
  <%--  This is my grid div--%>
<div></div>


What I have tried:

What i have tried is moving the divs outside update panel , changing the update mode etc.

I hope everyone gets my question here: "I do not want to disable the controls in search div on hit of search button" Please suggest. Please let me know for any question

Many Thanks,
Posted
Updated 18-Apr-17 17:12pm
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900