English 中文(简体)
如何将内容页面中的 RadWindow 添加到主页面中的 RadWindow 管理器?
原标题:How can i add RadWindow from ContentPage to RadWindowManager in MasterPage?

我有主页( MasterPage. aspx) 的RadWindow经理:

<telerik:RadWindowManager ID="MasterRadWindowManager" runat="server" VisibleStatusbar="false"
        DestroyOnClose="false">

    </telerik:RadWindowManager>

如何将内容页面( Default. aspx) 的 RadWindow 添加到主页的 RadWindow 管理器?

问题回答

雷达窗口 :

RadWindow radwindowNews = new RadWindow();
radwindowNews.ID = "RadWindow1";
radwindowNews.Width = 820;
radwindowNews.Height = 600;
radwindowNews.Modal = true;
radwindowNews.ReloadOnShow = true;
radwindowNews.AutoSize = false;
radwindowNews.ShowContentDuringLoad = false;
radwindowNews.Behaviors = WindowBehaviors.Close;

Add the 雷达窗口 :

RadWindowManager radManager =
    (RadWindowManager)this.Master.FindControl("MasterRadWindowManager");
radManager.Windows.Add(radwindowNews);




相关问题
ajax login using httpRequest?

I am trying to develop my login script to give feedback to the user if the login is valid or not. Basically if it isn t correct a div box will show saying its wrong, if its correct it will show its ...

Virtual Tour using sketch up, ajax, flash technologies

I want to know if there are existing technology that make your 3d models in sketch into virtual tours, using either Ajax or Flash for web presentation. If there s none, which will be a good approach ...

How can i update div continuously

I have asp.net application where i have a div which showing the value from other site. The value of that site is changing continuously. I want that my div will automatically update in some interval ...

热门标签