1

Resolved

No error thrown when adapted control not in a server form

description

AS described at http://forums.asp.net/p/1216030/2157420.aspx#2157420
 
Need to add code such as the following:
 
protected override void RenderContents(HtmlTextWriter writer)
{
TreeView treeView = Control as TreeView;
if (this.Page != null)
{
    this.Page.VerifyRenderingInServerForm(treeView);
}
...
}

comments

wrote May 6, 2008 at 2:29 PM

Fixed on changeset 11160

wrote May 6, 2008 at 2:29 PM

wrote Feb 14, 2013 at 8:44 PM

wrote May 16, 2013 at 10:19 AM

wrote May 16, 2013 at 10:19 AM

wrote Jun 14, 2013 at 7:20 AM