I use the following code to create a RadDock:
Dim newdock As RadDock = CreateRadDock()
Dim WPID as String=Guid.NewGuid.ToString
newdock.Tag = "Calendar.ascx"
newdock.DockMode = DockMode.Docked
newdock.EnableRoundedCorners = True
newdock.UniqueName = WPID
newdock.ID = WPID
LoadWidget(newdock)
zoneLeft.Controls.Add(newdock)
The Calednar.ascx only contains a RadCalendar control, nothing else.
A javascript error "Expected ':' occur when the page start, my other .ascx (without RadCalendar) files works ok. I tried that if the ID is not a GUID (such as Dock01), it will be ok. But I need that as it is a key in my Database.
Please help.
Dim newdock As RadDock = CreateRadDock()
Dim WPID as String=Guid.NewGuid.ToString
newdock.Tag = "Calendar.ascx"
newdock.DockMode = DockMode.Docked
newdock.EnableRoundedCorners = True
newdock.UniqueName = WPID
newdock.ID = WPID
LoadWidget(newdock)
zoneLeft.Controls.Add(newdock)
The Calednar.ascx only contains a RadCalendar control, nothing else.
A javascript error "Expected ':' occur when the page start, my other .ascx (without RadCalendar) files works ok. I tried that if the ID is not a GUID (such as Dock01), it will be ok. But I need that as it is a key in my Database.
Please help.