User-1761619084 posted
I have created a custom control and added a property of type panel to it. In the designer this property shows up as a drop down list with all the panels in the page. When I select a panel, the control disappears with a render error stating that it cannot
create object of type panel from its string representation. I can however set the property from code behind by giving the property a reference to the panel, but not from designer.