Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP .Net Web Controls > ITemplate

Reply
Thread Tools

ITemplate

 
 
Ben Schumacher
Guest
Posts: n/a
 
      10-13-2006
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


 
Reply With Quote
 
 
 
 
Teemu Keiski
Guest
Posts: n/a
 
      10-13-2006
http://aspadvice.com/blogs/joteke/ar...-GridView.aspx

ps. do not cross-post on every newsgroup

--
Teemu Keiski
ASP.NET MVP, AspInsider
Finland, EU
http://blogs.aspadvice.com/joteke

"Ben Schumacher" <> wrote in message
news:O1$...
> 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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Newbie:Access custom Itemplate(not datagrid/repeater/datalist) control values on postback Luhar Powell via .NET 247 ASP .Net 0 04-01-2005 04:58 PM
Itemplate viewstate =?Utf-8?B?QW1pbmU=?= ASP .Net 1 01-17-2005 05:33 PM
Datagrid binding to Itemplate Dropdown box Andrea Williams ASP .Net 1 08-05-2004 05:07 AM
DropDownList / <select> value not setting in Itemplate cosine... zero ASP .Net 0 06-11-2004 06:52 PM
Itemplate not accepting postback in data-bound templated control cosine... zero ASP .Net 0 06-09-2004 06:49 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57