What happens to the NOT rendered web control?

Discussion in 'ASP .Net' started by Guest, Jul 9, 2005.

  1. Guest

    Guest Guest

    I added a web control into this.Controls. But I did not render it in the
    RenderControl.
    This control keeps some information that I need when postback. The
    interesting is when the page posts back, I can get the information kept in
    the control.
    How can this happen? The control was not rendered so the information will
    not be sent to the client side and will not be post back. So it must be saved
    in the server, but I still can get the information even I made the post back
    after restart the IIS by iisreset.
    What is really happening here?

    I am new to the asp.net. Please help.

    Thanks

    Eason
     
    Guest, Jul 9, 2005
    #1
    1. Advertisements

  2. Guest

    intrader Guest

    The information about your control went into VieState where it traversed
    to the client and back
     
    intrader, Jul 9, 2005
    #2
    1. Advertisements

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.