On the page that I'm modifying, there was already a modal modalOrgao , and Script Manager
was already being used within Master Page
. This modal loads a gridview
with its results, so that's fine ... But a change appeared and it was necessary to call a new modal (modalDetail) with another gridview
(all inside an UpdatePanel) So the problem arises!
How is this new modal called?
Inside a gridview
there is a button that when clicking loads information.
The modal is created the information is processed, and before it is presented in the modal, the whole page does postback
and consecutively the modal some and the information is not presented.
The modalOrgao , it continues with its correct operation, does not postback
on the page and only, in the area designated to the modal.
I do not know if I passed the information correctly.
Thank you in advance!
Here's a piece of my MasterPage :
<form id="form1" runat="server" autocomplete="off" class="formValidation">
<asp:ScriptManager id="ScriptManager1" runat="server"></asp:ScriptManager>
<uc1:barraTopo ID="barraTopo" runat="server" />
<div id="container">
<uc2:cabecalho ID="cabecalho" runat="server" />
<div id="content">
<uc3:menu ID="menu" runat="server" />
<div id="main">
<asp:Label ID="lblMensagem" runat="server" Text="Mensagem" CssClass="statusRealizado" Visible="false"></asp:Label>
<asp:ContentPlaceHolder id="contentPlaceHolder" runat="server"> </asp:ContentPlaceHolder>
<asp:ContentPlaceHolder id="contentPlaceHolder1" runat="server"> </asp:ContentPlaceHolder>
<asp:ContentPlaceHolder id="contentPlaceHolder2" runat="server"> </asp:ContentPlaceHolder>
</div>
</div>
<uc4:rodape ID="rodape" runat="server" />
</div>
</form>