Ajax Popup Extender [英] Ajax Popup Extender

查看:61
本文介绍了Ajax Popup Extender的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何在运行时或以编程方式使用Ajax Popup Extender?

How can I use Ajax Popup Extender at run time Or Programmatically??

推荐答案

这很简单.您可以像在运行时使用常规控件一样使用它.

如下图所示:
It is simple. You can use it as you use normal controls at runtime.

It will be something like below:
AjaxControlToolkit.ModalPopupExtender mpop = new AjaxControlToolkit.ModalPopupExtender();
            mpop.TargetControlID = ""; //Control which will activate it
            mpop.PopupControlID = ""; //Control that will show in it
            mpop.CancelControlID = ""; //Button that will hide it
            this.Controls.Add(mpop);




希望有帮助.




Hope that helps.


这篇关于Ajax Popup Extender的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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