当用户单击按钮时显示DevExpress AspxPopUpControl
我已经添加了一个 aspxpopupcontrol
到我的网站。
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.
如何做?
有两种方法来显示ASPxPopupControl - 使用服务器端和客户端代码。要从服务器代码显示ASPxPopupControl,请将ASPxPopupControl.ShowOnPageLoad属性设置为true。要从客户端代码调用ASPxPopupControl,请调用ASPxPopupControl的Show方法。 如何显示ASPxPopupControl 示例演示了两种方式。
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.