I've been using the following code to open RadWindows, with the previous version of Telerik ASP.NET components, but it seems to fail with the latest version:
When _window.OnClientClose line is commented out, the window comes up, otherwise I get a JavaScript error on the page, and no window. The Refresh() function is on the page, and was working before.
Any help is greatly appreciated!
| Dim _window As New Telerik.Web.UI.RadWindow() |
| _window.ID = "Window1" |
| _window.NavigateUrl = "page.aspx" |
| _window.Width = Unit.Pixel(640) |
| _window.Height = Unit.Pixel(480) |
| _window.Title = "title" |
| _window.VisibleOnPageLoad = True |
| _window.Skin = "Vista" |
| _window.OnClientClose = "Refresh();" |
| RadWindowManager1.Windows.Add(_window) |
When _window.OnClientClose line is commented out, the window comes up, otherwise I get a JavaScript error on the page, and no window. The Refresh() function is on the page, and was working before.
Any help is greatly appreciated!