ITemplate

Discussion in 'ASP .Net Web Controls' started by Ben Schumacher, Oct 13, 2006.

  1. 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
     
    Ben Schumacher, Oct 13, 2006
    #1
    1. Advertising

  2. Ben Schumacher

    Teemu Keiski Guest

    http://aspadvice.com/blogs/joteke/a...mand_2D00_capable-CheckBox-with-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
    >
     
    Teemu Keiski, Oct 13, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. cosine... zero
    Replies:
    0
    Views:
    666
    cosine... zero
    Jun 9, 2004
  2. cosine... zero
    Replies:
    0
    Views:
    777
    cosine... zero
    Jun 11, 2004
  3. Andrea Williams

    Datagrid binding to Itemplate Dropdown box

    Andrea Williams, Aug 5, 2004, in forum: ASP .Net
    Replies:
    1
    Views:
    4,422
    Andrea Williams
    Aug 5, 2004
  4. =?Utf-8?B?QW1pbmU=?=

    Itemplate viewstate

    =?Utf-8?B?QW1pbmU=?=, Jan 17, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    2,848
    Karl Seguin
    Jan 17, 2005
  5. Luhar Powell via .NET 247
    Replies:
    0
    Views:
    2,452
    Luhar Powell via .NET 247
    Apr 1, 2005
Loading...

Share This Page