asp.net - Dragging a popup modal extender inside an usercontrol -
i'm trying use modal popup extender. have problem when using inside usercontrol. put drag property true, , popupdraghandlecontrolid can't drag popup.
it seams problem happens when use popup modal extender inside usercontrol. if use inside aspx page, ok. please can me how deal problem?
here code use in user control:
<asp:linkbutton id="lnk" runat="server" text="rezervo"></asp:linkbutton> <ajax:modalpopupextender id="modalpopupextender1" backgroundcssclass="modalpopupbg" runat="server" cancelcontrolid="btncancel" okcontrolid="btnokay" targetcontrolid="lnk" popupcontrolid="pnlbooking" drag="true" popupdraghandlecontrolid="popupheader"> </ajax:modalpopupextender> <div id="pnlbooking" style="display: none;" class="popupconfirmation"> <div class="popup_container"> <div class="popup_titlebar" id="popupheader"> <div class="titlebarleft"> rezervo</div> <div class="titlebarright"> </div> </div> <div class="popup_body"> </div> <div class="popup_buttons"> <input id="btnokay" value="done" type="button" /> <input id="btncancel" value="cancel" type="button" /> </div> </div> </div>
Comments
Post a Comment