I am loading a radodock from a database on Init, it all works fine until I save the layout, we are using cookies as the save basis for the layout not the database. It will remember the layout in the dock zone am loading it into but if I drag it into another zone it doesnt save. Im not surprised by it but how do I get it to save properly?
Here is my load code.
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Dim so As New System.Web.UI.Control
Dim soRadDock As New RadDock
RadDockZone3.Controls.Clear()
soRadDock.Title = "Dynamic Service Order"
soRadDock.ID = Guid.NewGuid().ToString()
so = LoadControl("UserControls/ServiceOrders.ascx")
soRadDock.ContentContainer.Controls.Add(so)
RadDockZone3.Controls.Add(soRadDock)
End Sub
Here is my load code.
Protected Sub Page_Init(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Init
Dim so As New System.Web.UI.Control
Dim soRadDock As New RadDock
RadDockZone3.Controls.Clear()
soRadDock.Title = "Dynamic Service Order"
soRadDock.ID = Guid.NewGuid().ToString()
so = LoadControl("UserControls/ServiceOrders.ascx")
soRadDock.ContentContainer.Controls.Add(so)
RadDockZone3.Controls.Add(soRadDock)
End Sub