views:

41

answers:

0

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?