Hello guys,
I have a web control that holds RadDockLayout control as a property:
In my control I am trying to dynamically create DocZone and add it to the RadDockLayout control.
when I'm trying to load my page I get this error:
on this source code:
BTW
when I try to add a simple asp label. I got no errors.
Please advise.
Thanks
I have a web control that holds RadDockLayout control as a property:
public class DockZonesContainer : Control
{
private Telerik.Web.UI.RadDockLayout _layout;
In my control I am trying to dynamically create DocZone and add it to the RadDockLayout control.
when I'm trying to load my page I get this error:
Page cannot be null. Please ensure that this operation is being performed in the context of an ASP.NET request.
on this source code:
public override void RenderControl(HtmlTextWriter writer)
{
_layout.RenderControl(writer);
}
BTW
when I try to add a simple asp label. I got no errors.
Please advise.
Thanks