|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
|
Ok smart guys and gals ...
I have a GridView control with a dynamically created checkbox column. The checkbox is created using ITemplate interface. In my class that implements the ITemplate interface I set the AutoPostBack property of the checkbox to True. When the checkbox is clicked, I want to handle the CheckChanged event of the checkbox on the webform (.aspx) that contains the GridView control. I can easily use the addhandler instruction in the ITemplate interface class to handle the CheckChanged event, but how do I bubble the event out to the actual .aspx page that contains the gridview control???????????? I have been googling for hours. It seems no one has any idea how to do this. I would be so incredibly grateful for any insight into my problem. Ben
http://aspadvice.com/blogs/joteke/archive/2006/10/13/Command_2D00_capable-CheckBox-with-GridView.aspx
ps. do not cross-post on every newsgroup Show quoteHide quote "Ben Schumacher" <bschumac***@navegate.com> wrote in message news:O1$l7nv7GHA.3396@TK2MSFTNGP04.phx.gbl... > Ok smart guys and gals ... > > I have a GridView control with a dynamically created checkbox column. The > checkbox is created using ITemplate interface. In my class that > implements > the ITemplate interface I set the AutoPostBack property of the checkbox to > True. When the checkbox is clicked, I want to handle the CheckChanged > event > of the checkbox on the webform (.aspx) that contains the GridView control. > I can easily use the addhandler instruction in the ITemplate interface > class > to handle the CheckChanged event, but how do I bubble the event out to the > actual .aspx page that contains the gridview control???????????? > > I have been googling for hours. It seems no one has any idea how to do > this. I would be so incredibly grateful for any insight into my problem. > > Ben >
Design View when using an ASP:Panel to show/hide groups of <tr>'s
DropDownlist in EditItemTemplate Gridview Problem Javascript changes not saved IConvertible Error TabStrip change by javascript Failed to load viewstate. IE-7 Where the webforms forums? No Value: DropDownlist in EditItemTemplate Gridview Problem No Value: DropDownlist in EditItemTemplate Gridview Problem |
|||||||||||||||||||||||