简体   繁体   English

没有NavigateURL的Telerik RadWindow?

[英]Telerik RadWindow without NavigateURL?

I want a modal popup effect to display dynamic content on a single page. 我希望模式弹出效果在单个页面上显示动态内容。 I'm working with Telerik controls. 我正在使用Telerik控件。 Telerik has a control called RadWindow which is more or less a modal window. Telerik有一个称为RadWindow的控件,它或多或少是一个模态窗口。

It looks like the only content that is to be displayed in RadWindow is the content of a page that is specified in NavigateURL. 看起来RadWindow中唯一要显示的内容是NavigateURL中指定的页面的内容。 That is a problem for me because what I want to display is the dynamic content that I show on the same page. 这对我来说是个问题,因为我要显示的是在同一页面上显示的动态内容。

Is it possible to display content that is on the same page using RadWindow? 使用RadWindow是否可以显示同一页面上的内容?

The RadWindow is an iframe. RadWindow是iframe。 It has to have a separate page to render, unless you use the clientside radalert and radconfirm methods--you can pass in HTML for an alert or confirm dialog that doesn't require a separate page. 除非使用客户端radalert和radconfirm方法,否则它必须具有单独的页面才能呈现-您可以传入HTML发出警报或确认不需要单独页面的对话框。 That doesn't sound like what you want. 听起来不像您想要的。 Consider using the RadToolTip or the AjaxToolkit ModalPopupExtender instead. 考虑改用RadToolTip或AjaxToolkit ModalPopupExtender。

For some time, RadWindow can display content from the main page as well. 在一段时间内,RadWindow也可以显示主页上的内容。 Here is a link to the demo: http://demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx 这是演示的链接: http : //demos.telerik.com/aspnet-ajax/window/examples/internalcontent/defaultcs.aspx

RadDock does what RadWindow does. RadDock可以执行RadWindow的操作。 Only, it takes input from the current page instead of from an external URL. 仅,它从当前页面而不是外部URL接受输入。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM