问题
I have added a aspxpopupcontrol to my website.
I want to show this pop when a user clicks a button. I don't know how to invoke the controller.
How can this be done?
回答1:
There are two ways to show the ASPxPopupControl - using the server side and client side code. To show the ASPxPopupControl from the server code, set the ASPxPopupControl.ShowOnPageLoad property to true. To invoke the ASPxPopupControl from a client side code, call the ASPxPopupControl's Show method. The How to show the ASPxPopupControl example demonstrates both ways.
来源:https://stackoverflow.com/questions/6195545/showing-a-devexpress-aspxpopupcontrol-when-user-clicks-a-button