DotNetNewsgroup.com  
web access to complete list of Microsoft.NET newsgroups
   home   |   control panel login   |   archive  |  
 
  carried group
academic
adonet
aspnet
aspnet.announcements
aspnet.buildingcontrols
aspnet.caching
aspnet.datagridcontrol
aspnet.mobile
aspnet.security
aspnet.webcontrols
aspnet.webservices
assignment_manager
datatools
dotnet.distributed_apps
dotnet.general
dotnet.myservices
dotnet.nternationalization
dotnet.scripting
dotnet.security
dotnet.vjsharp
dotnet.vsa
dotnet.xml
dotnetfaqs
framework
framework.clr
framework.compactframework
framework.component_services
framework.controls
framework.databinding
framework.drawing
framework.enhancements
framework.interop
framework.odbcnet
framework.performance
framework.remoting
framework.sdk
framework.setup
framework.webservices
framework.windowsforms
framework.wmi
frwk.windowsforms.designtime
lang.csharp
lang.jscript
lang.vb
lang.vb.controls
lang.vb.data
lang.vb.upgrade
lang.vc
lang.vc.libraries
  
 
start date: Sun, 19 Aug 2007 16:59:26 +0200,    posted on: microsoft.public.dotnet.framework.aspnet        back       

Thread Index
  1    Britt
          2    Eliyahu Goldin


question about viewstate   
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
Date:Sun, 19 Aug 2007 16:59:26 +0200   Author:  

Re: question about viewstate   
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:%233cqJGn4HHA.5724@TK2MSFTNGP05.phx.gbl...

> 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
> 
Date:Sun, 19 Aug 2007 18:17:05 +0300   Author:  

Google
 
Web dotnetnewsgroup.com


COPYRIGHT ?2005, EUROFRONT WORLDWIDE LTD., ALL RIGHT RESERVE  |   Contact us