aspx listbox control

Posted by lissa on Stack Overflow See other posts from Stack Overflow or by lissa
Published on 2010-05-31T11:11:38Z Indexed on 2010/05/31 11:12 UTC
Read the original article Hit count: 323

i tried to extend the listbox control and override its RenderEndTag method.

everything works well if i used the control directly in a webapage. ie, the RenderEndTag is called.

but when i try to put the control in a WebUserControl and use the webusercontorl in a webpage, the RenderEndTag of the extended control is not called. this is strange because the constructor is being called but the RenderEndTag method is not!

any ideas about fixing the issue?

© Stack Overflow or respective owner

Related posts about c#

Related posts about usercontrols