RenderContents vs RenderChildren

Discussion in 'ASP .Net Building Controls' started by Chris Simmons, Oct 29, 2004.

  1. Hello:

    What's the difference between WebControl.RenderContents and
    Control.RenderChildren? I am assuming that the default implementation
    of WebControl.RenderContents simply calls RenderChildren, correct?

    If so, what's the point of having this additional "layer" method when
    you could do the same thing by overriding Control.RenderChildren?


    --
    Thanks,
    Chris Simmons
     
    Chris Simmons, Oct 29, 2004
    #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. Alex Nitulescu

    Render vs RenderContents

    Alex Nitulescu, Feb 24, 2005, in forum: ASP .Net
    Replies:
    2
    Views:
    13,541
    Marc BICHARA
    Aug 17, 2009
  2. Nathan Sokalski
    Replies:
    1
    Views:
    676
    Nathan Sokalski
    Jul 31, 2009
  3. Nathan Sokalski
    Replies:
    1
    Views:
    1,586
    Nathan Sokalski
    Jul 31, 2009
  4. Doug Holland

    RenderContents

    Doug Holland, Sep 17, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    273
    Doug Holland
    Sep 17, 2004
  5. Guest

    RenderChildren/ParseChildren

    Guest, Mar 1, 2005, in forum: ASP .Net Building Controls
    Replies:
    6
    Views:
    438
    Steven Cheng[MSFT]
    Mar 16, 2005
  6. Ryan Ternier

    New to Controls - help with Checkbox RenderContents(...)

    Ryan Ternier, Jun 7, 2005, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    256
    Ryan Ternier
    Jun 7, 2005
  7. Amb

    Adding a button to RenderContents Routine

    Amb, Sep 3, 2008, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    992
  8. Nathan Sokalski

    Inheriting System.Web.UI.WebControls.Image and RenderContents

    Nathan Sokalski, Jul 29, 2009, in forum: ASP .Net Web Controls
    Replies:
    1
    Views:
    893
    Nathan Sokalski
    Jul 31, 2009
Loading...