<asp:button runat="server" id="hiddenpopuppatientregistration" style="display: none" /> <asp:modalpopupextender id="popuppatientregistration" runat="server" popupcontrolid="panelpatientregistration" targetcontrolid="hiddenpopuppatientregistration" backgroundcssclass="cssmodalbackground" behaviorid="modalbehaviour" cancelcontrolid="btnclose"> </asp:modalpopupextender> <div id="panelpatientregistration" class="cssmodalpopup" style="display: none"> <iframe id="iframepatientregistration" class="csstable" runat="server" width="600px" height="485px" scrolling="auto"></iframe> <table> <tr> <td align="right"> <asp:button id="btnclose" runat="server" cssclass="cssbutton" text="close" /> </td> </tr> </table> </div> protected void btn_click(object sender, eventargs e) { iframepatientregistration.attributes["src"] = "patient_registration.aspx?flowtype=" + flowtype + "&fromtime=" + hidfromtime.value + "&totime=" + hidtotime.value + "&acqmodalityid=" + hidacqmodalityid.value + "&schlocationid=" + ddlscheduledproceduresteplocation.selectedvalue; popuppatientregistration.show(); }
i have show aspx page in modal popup extender control. , pass values through query string aspx page not loads in iframe.code behind.
when see html source getting these 2 lines
<html> </html>
the display property containing div "panelpatientregistration" set none. iframe inside , never gets rendered.
Comments
Post a Comment