Hello,
I read that we can also add a RadWindow now like this:
And this workes fine (when you also load this in init on postback of course)
The closing I do on the Page_PreRender, by removing the RadWindow from the controls collection.
In the AJAXed version of my application however, this couses problems. The Windows is loaded and displayed, but afeter the close (server side, remove RadWindow control in PreRender thus) and ReOpening, the control is loaded but not shown...
Is this not correct use of functionality?
Erik
I read that we can also add a RadWindow now like this:
Dim
window1
As
New
Telerik.Web.UI.RadWindow
With
window1
.VisibleOnPageLoad =
True
.ID =
"UniqueDialogWindowID"
.Width = 450
.Height = 550
.AutoSize =
True
.Modal =
True
.VisibleStatusbar =
False
.ContentContainer.Controls.Add(
New
LiteralControl(
"Dynamic loaded control"
))
.Title =
"Test"
End
With
Page.Controls.Add(window1)
And this workes fine (when you also load this in init on postback of course)
The closing I do on the Page_PreRender, by removing the RadWindow from the controls collection.
In the AJAXed version of my application however, this couses problems. The Windows is loaded and displayed, but afeter the close (server side, remove RadWindow control in PreRender thus) and ReOpening, the control is loaded but not shown...
Is this not correct use of functionality?
Erik