c# – UpdatePanel – Always e conditional juntos

Question:

I have a doubt. Is it possible to fire event only in conditional updatePanel when it is inside a non-conditional one? Here is the example:

<asp:UpdatePanel runat="server" ID="upPagina">
<ContentTemplate>
    <asp:UpdatePanel ID="updatePanelGridView" runat="server" UpdateMode="Conditional">
        <Triggers>
            <asp:AsyncPostBackTrigger ControlID="btnInserirGrid" EventName="Click" />                           
        </Triggers>
        <ContentTemplate>                           
        </ContentTemplate>
    </asp:UpdatePanel>
</ContentTemplate>

Answer:

I found out what it was.

I created the onInit method and inserted the

scriptmanager1.EnablePartialRendering = false;

Solved.

Scroll to Top
AllEscort