当用户单击按钮时显示DevExpress AspxPopUpControl [英] Showing a DevExpress AspxPopUpControl when user clicks a button

查看:703
本文介绍了当用户单击按钮时显示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.

这篇关于当用户单击按钮时显示DevExpress AspxPopUpControl的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆