locked
ModalPopup Issue RRS feed

  • Question

  • User-723833757 posted

    I am having trouble with my ModalPopup Not Displaying

    1. Toolkit is latest version

    2. Used both ToolScript And Script Managers

    3. Inside and outside of Update Panel

    	<ajx:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="Button1" PopupControlID="TestPopup" BackgroundCssClass="bg-modal" CancelControlID="Button2" OkControlID="Button3" />
    	<asp:Panel runat="server" ID="TestPopup" CssClass="message" Style="display: none">
    		<h3>Test</h3>
    		<asp:Button ID="Button2" runat="server" Text="Cancel" /><asp:Button ID="Button3" runat="server" Text="OK" />
    	</asp:Panel>

    4. Will Not show with button click, or using SHOW()

    5. When outside of update  panel I click the button to display the Popup, but only reloads the page

    Tuesday, July 28, 2015 6:01 AM

Answers

  • User61956409 posted

    Hi Bobby-Z,

    Your code seems ok, I test your code on my side, it works fine.

    Besides, this link shows us a demo using ModalPopup.

    http://ajaxcontroltoolkit.devexpress.com/ModalPopup/ModalPopup.aspx

    I’d like to know if other AJAX Control Toolkit controls works fine on your side. you could try to reinstall AJAX Control Toolkit and try it again.

    Best Regards,

    Fei Han

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, July 29, 2015 1:40 AM