ASP.NET server side control not fired in a JQuery popup -
i've aspx page 2 jquery popup. each of popup has pairs of server side buttons. problem these button not fire if press. know issue jquery popup .. how can solve ?
edit: follow code
<asp:content id="content2" contentplaceholderid="contentplaceholder1" runat="server"> <script type="text/javascript"> $(document).ready(function () { var dlgsuggestsol = $('div#dlgsuggestsolution').dialog({ autoopen: false, modal:true, width:640, height:480 }) $('#btnopensuggestsolution').click(function () { $('div#dlgsuggestsolution').dialog('open'); }); var dlgwaitsol = $('div#dlgwaitingsolution').dialog({ autoopen: false, modal: true, width: 640, height: 480 }) $('#btnreadsolutionawaiting').click(function () { $('div#dlgwaitingsolution').dialog('open'); }); }) </script>
... ...
<div id="dlgsuggestsolution"> <h3>proponi la tua soluzione</h3> <br /> <asp:textbox runat="server" id="txtnewsolution" textmode="multiline" width="480px" height="300px"></asp:textbox> <br /> <asp:button runat="server" id="btnsavesolution" text="salva soluzione" /> <asp:button runat="server" id="abutton" text="jjkkj" /> <asp:label runat="server" id="lblmsg"> </asp:label> </div>
set usesubmitbehavior="false"
on buttons in popup. reason popup shown out of form , usual submitting won't pass target command id server. usesubmitbehavior="false"
button uses asp.net postback mechanism (__dopostback
function actually)
jquery asp.net
No comments:
Post a Comment