Rendered control vs childcontrols

Discussion in 'ASP .Net Web Controls' started by Peter, May 1, 2005.

  1. Peter

    Peter Guest

    I have created a couple of rendered custom control. These controls can
    raise events.

    Now I am trying to create a rendered control that uses the controls I
    created. So i'm overwriting the render of this new control and creating
    the controls in this method. When the controls are created I'm
    calling the rendercontrol method off these control to render the output
    to the control.

    I'm puzzled on how I should handle the events of these child controls.
    I can not add a handle in the render because that's too late. When
    using childcontrols in a custom should I perhaps create a composite
    control?

    Any help on this is very appreciated.

    Peter
     
    Peter, May 1, 2005
    #1
    1. Advertisements

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. Graham

    ChildControls and ViewState

    Graham, Sep 6, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    649
    =?Utf-8?B?SnVsaWFuIEplbGZz?=
    Sep 6, 2005
  2. Leeor Chernov
    Replies:
    2
    Views:
    946
    Leeor Chernov
    Oct 16, 2005
  3. mauricio

    ChildControls state

    mauricio, Mar 11, 2008, in forum: ASP .Net
    Replies:
    1
    Views:
    386
    bruce barker
    Mar 11, 2008
  4. Matt Sokol
    Replies:
    2
    Views:
    607
    Theo Tillotson
    Aug 7, 2003
  5. Richard Watt

    DataGrid childcontrols problem

    Richard Watt, Apr 23, 2004, in forum: ASP .Net Building Controls
    Replies:
    5
    Views:
    340
    Guest
    Apr 27, 2004
  6. Sandy

    ChildControls disappear after Clicking

    Sandy, Aug 12, 2005, in forum: ASP .Net Web Controls
    Replies:
    0
    Views:
    182
    Sandy
    Aug 12, 2005
  7. TJ
    Replies:
    4
    Views:
    565
    Steven Cheng[MSFT]
    Apr 7, 2006
  8. Nico
    Replies:
    0
    Views:
    224
Loading...