Hi,
I have created a RadWindow in a user buttonClick event:
the Url is working properly and the page is loading properly, However if i try and use newWindow.Visible = true rather than VisibleOnPageLoad = true the window does not show. my problem resides in the fact that even after I use the close event in the popup windows page the popup is loaded again once the page is loaded because of the VisibleOnPageLoad = true.
I have tried using:
in the other page when closing the window however it does not work. Any suggestions would be greatly appreciated
Thank you,
I have created a RadWindow in a user buttonClick event:
Protected Sub Button3_Click(ByVal sender As Object, ByVal e As System.EventArgs)
Dim newWindow As Telerik.Web.UI.RadWindow = New Telerik.Web.UI.RadWindow()
Dim hyper As String
hyper = "GeoCode.aspx?field1=" + Street + "&field2=" + City + "&field3=" + Zip
newWindow.NavigateUrl = hyper
newWindow.Top = Unit.Pixel(22)
newWindow.Left = Unit.Pixel(0)
newWindow.Width = 300
newWindow.Height = 800
form1.Controls.Add(newWindow)
newWindow.VisibleOnPageLoad = True
End Sub
I have tried using:
function CloseFunction()
{
var oWnd = GetRadWindow();
oWnd.Close();
oWnd.VisibleOnPageLoad = false;
oWnd.BrowserWindow.location.reload();
}
Thank you,