Ajax tabcontainer和模态弹出扩展器 [英] Ajax tabcontainer and modal popup extender
本文介绍了Ajax tabcontainer和模态弹出扩展器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用VS2008,C#,ASP.NET,我已经插入了Ajax Control Toolkit Tab容器,效果很好,但是当我在另一个面板上插入一个模态弹出扩展器时,标签不会显示!这里出了什么问题?我怎么能同时拥有它们?
I'm using VS2008, C#, ASP.NET, I've inserted Ajax Control Toolkit Tab Container which works great, but when I insert a modal popup extender on another panel, tabs do not display! what is going wrong here? How can I have both on them ??
推荐答案
最近我使用了AjaxTabContainer和Modalpopup一起工作。
我将modalpopup放在标签容器外面。从代码中调用。
使用以下链接
http://jamestsai.net/Blog/post/How-to-use-ASPNET-AJAX-UpdatePanel-in-ModalPopup.aspx [ ^ ]
下载以下示例:
http://www.codeproject.com/KB/ajax/ASPModalInAction/aspmodalinaction.zip [ ^ ]
Recently I used AjaxTabContainer with Modalpopup it worked.
I placed modalpopup outside the tab container & called from code.
Use below link
http://jamestsai.net/Blog/post/How-to-use-ASPNET-AJAX-UpdatePanel-in-ModalPopup.aspx[^]
Download sample below:
http://www.codeproject.com/KB/ajax/ASPModalInAction/aspmodalinaction.zip[^]
我遇到了同样的问题。我通过正确设置这3个属性来修复它。
PopupControlID =pnEditAction
TargetControlID = btnAddNew
CancelControlID = btnCancel
请记住,TargetControlID在PopupControlID之外而CancelControlID在PopupControlID中。
希望这会有所帮助。
Tony
I had same problem. I fixed it by correctly setting these 3 properties.
PopupControlID="pnEditAction"
TargetControlID=btnAddNew
CancelControlID=btnCancel
Remember, TargetControlID is outside the PopupControlID whereas CancelControlID is inside PopupControlID.
Hope this helps.
Tony
这篇关于Ajax tabcontainer和模态弹出扩展器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文