How to dynamically create updatepanel around an extended custom control?

Discussion in 'ASP .Net Building Controls' started by Risso.D@gmail.com, Sep 13, 2007.

  1. Guest

    Has anyone done this or have an idea to go about it? I've been trying
    many different ideas, but no luck so far. Basically add EnableAjax
    property to a custom control. If this is true then add an updatepanel
    around the control that is being created. Let say a gridview. I have
    an extended custom gridview where I do all my overridesI I need with
    OnInit, OnPreRender, etc. I know that I can't just add a new
    updatepanel and change the grid's parent to it because you can't
    change the control collection inside any of these events. has anyone
    ever done this before or have an examples. Or even an idea where in a
    controls life cycle this can be done.

    Thanks,

    Risso
    , Sep 13, 2007
    #1
    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. buran
    Replies:
    2
    Views:
    816
    buran
    Dec 29, 2004
  2. Piet
    Replies:
    0
    Views:
    506
  3. Replies:
    3
    Views:
    471
    Rob Meade
    Aug 8, 2007
  4. Nathan Sokalski
    Replies:
    1
    Views:
    570
    miher
    Jun 15, 2009
  5. Network/Software Buyer
    Replies:
    0
    Views:
    399
    Network/Software Buyer
    May 23, 2010
Loading...

Share This Page