I have got two custom controls a GridView and a ColumnChooser for it.
GridView is derived from System.Web.UI.WebControls.GridView
ColumnChooser is derived from System.Web.UI.WebControls.Panel
I am creating an instance of the ColumnChooser control in the CreateChildControls method of the GridView and adding this newly created instance to the parent of Gridview by using:
Girish Chawr...
Member
178 Points
131 Posts
Event not getting fired of a custom control instantiated in another custom control
Mar 20, 2012 04:09 PM|LINK
Hi All,
I have got two custom controls a GridView and a ColumnChooser for it.
I am creating an instance of the ColumnChooser control in the CreateChildControls method of the GridView and adding this newly created instance to the parent of Gridview by using:
The column chooser control has some buttons in it and their respective handlers are present in the ColumnChooser.cs.
Problem: The handlers present in the ColumnChooser.cs are not getting fired.
Thanks in advance ;-)
This can be beneficial to other community members reading the thread.
Good Luck!