asp.net - Model Popup extender not working -


i working on project , want popup panel on click of button not working reason behind ..as tried after updating ajax toolkit again not working.

please give me solution that. here have tried:

      <form id="form1" runat="server">   <div>      <asp:toolkitscriptmanager id="toolkitscriptmanager1" runat="server"></asp:toolkitscriptmanager>      <asp:button id="btnshowpopupisbn" runat="server" style="display:none" />      <asp:modalpopupextender id="modalpopupextender1" runat="server" targetcontrolid="btnshowpopupisbn" popupcontrolid="pnl_isbn" cancelcontrolid="btncancel" backgroundcssclass="modalbackground" popupdraghandlecontrolid="pnlpopup"></asp:modalpopupextender>      <asp:panel id="pnl_isbn" runat="server" visible="false" width="400px"cssclass="color">      <asp:label id="lbl_isbn" runat="server" text="isbn " forecolor="black"></asp:label>      <asp:textbox id="txt_isbn" runat="server" validationgroup="b" autopostback="true"></asp:textbox>      <asp:label id="lbl_booktwoid" runat="server" forecolor="red" text="booktwoid" visible="false"></asp:label>      <asp:label id="lbl_conditionisbn" runat="server" forecolor="black" text="condition"></asp:label>      <asp:dropdownlist id="drp_con" runat="server" width="120px" validationgroup="b"></asp:dropdownlist>      <asp:button id="btn_isbnnumber" runat="server" text="add isbn" cssclass="blue button" validationgroup="b"/></asp:panel> </div> <asp:button id="button1" runat="server" onclick="button1_click" text="button"/>  </form> 

cs code on button click:

 protected void button1_click(object sender, eventargs e) {     pnl_isbn.visible = true;     modalpopupextender1.show();  } 

you have missed closing quote popupcontrolid="pnl_isbn".please check out.


Comments

Popular posts from this blog

linux - Does gcc have any options to add version info in ELF binary file? -

javascript - Clean way to programmatically use CSS transitions from JS? -

android - send complex objects as post php java -