RadWindowを閉じて、親を更新したい:このサーバー側の実行方法:
私は次の場合があります:
2ページは言う:
parent.aspx:
<telerik:RadWindowManager ID="RadWindowManager1" runat="server" EnableViewState ="false">
</telerik:RadWindowManager>
およびparent.cs
protected void OpenNewWindow(string url, int width, int height,int mode)
{
RadWindow newWindow = new RadWindow();
newWindow.NavigateUrl = url;
newWindow.VisibleOnPageLoad = true;
newWindow.KeepInScreenBounds = true;
if (width > 0)
{
newWindow.Width = width;
}
if (height > 0)
{
newWindow.Height = height;
}
newWindow.VisibleStatusbar = false;
if (mode == 0)
{
newWindow.DestroyOnClose = true;
newWindow.InitialBehaviors = WindowBehaviors.Maximize;
}
RadWindowManager1.Windows.Add(newWindow);
}
親ページのグリッドビューのrowcommandでこのメソッドを呼び出します:
このような :
OpenNewWindow("child.aspx", 0, 0,0);
今、私はサーバー側でchild
ページ上のいくつかのボタンのクリックイベントでradウィンドウを閉じ、親を更新したいのですが、これを行う方法は??