Metaphor
November 12th, 2004, 05:42 AM
Right.
* I've got an ITemplate in a server-control.
* I instatiate the ITemplate in a tablecell in my server-control's controltree in CreateChildControls.
* I declare childcontrols of that template in the .aspx-page using the server-control.
* I add an eventhandler to the childcontrol using, for example, OnSelectedIndexChanged="onChange" in the tag.
* I add the code for the eventhandler in the codebehind of the .aspx-page.
The problem is, the event isn't firing. Help, please?
* I've got an ITemplate in a server-control.
* I instatiate the ITemplate in a tablecell in my server-control's controltree in CreateChildControls.
* I declare childcontrols of that template in the .aspx-page using the server-control.
* I add an eventhandler to the childcontrol using, for example, OnSelectedIndexChanged="onChange" in the tag.
* I add the code for the eventhandler in the codebehind of the .aspx-page.
The problem is, the event isn't firing. Help, please?