question about viewstate

Discussion in 'ASP .Net' started by Britt, Aug 19, 2007.

  1. Britt

    Britt Guest

    Hi,

    when enableviewstate="true" i can see in the page source something like:
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
    value="/wEPDwUKLTE2MjY5MTY1NQ8WAh4FY291bnRmFgICA==" />

    Now i do enableviewstate="false" in the same page. But in the page source, i
    still can see:
    <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
    value="/wEPDwUKLTE2MjY5MTY1

    Is this normal? Why is that hiddenfield still present when
    enableviewstate="false"?

    Thanks
    Britt
     
    Britt, Aug 19, 2007
    #1
    1. Advertising

  2. Yes, this is normal. There is some minimum information that is kept there.
    It should not affect you in any way.

    --
    Eliyahu Goldin,
    Software Developer
    Microsoft MVP [ASP.NET]
    http://msmvps.com/blogs/egoldin
    http://usableasp.net


    "Britt" <> wrote in message
    news:%...
    > Hi,
    >
    > when enableviewstate="true" i can see in the page source something like:
    > <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
    > value="/wEPDwUKLTE2MjY5MTY1NQ8WAh4FY291bnRmFgICA==" />
    >
    > Now i do enableviewstate="false" in the same page. But in the page source,
    > i still can see:
    > <input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
    > value="/wEPDwUKLTE2MjY5MTY1
    >
    > Is this normal? Why is that hiddenfield still present when
    > enableviewstate="false"?
    >
    > Thanks
    > Britt
    >
     
    Eliyahu Goldin, Aug 19, 2007
    #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. Ben Rush
    Replies:
    2
    Views:
    541
    Ben Rush
    Dec 5, 2003
  2. Steph
    Replies:
    2
    Views:
    1,682
    heislord5
    May 11, 2011
  3. ujjc001
    Replies:
    0
    Views:
    1,385
    ujjc001
    Jul 27, 2005
  4. sck10
    Replies:
    6
    Views:
    929
    sck10
    Sep 1, 2006
  5. mark

    Viewstate errors... how do I get viewstate working?

    mark, Feb 20, 2004, in forum: ASP .Net Building Controls
    Replies:
    0
    Views:
    293
Loading...

Share This Page