473,396 Members | 1,712 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

ENABLEVIEWSTATE: Yes-No. Where's the difference ?

teo
I set to False
the EnableviewState
of the Page
and
of all the controls on it
(up to ten, Radiobuttons,Teextbox, Listbox...).

I run it, I populated it, I Response.Redirected to itself
then I read with Notepad the resulting HTML .
The I set the EnableviewState of all the stuff (Page and controls)
to True,
run it, I populated it, I Response.Redirected to itself
then I read with Notepad the resulting HTML.
I notice no differences, and I always found this:

<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE"
value="/wEPDwUJLTgzNzg2Mzg1ZBgBBR5fX0NvbnRyb2xzUmVxdWlyZ
VBvc3RCYWNrS2V5X18WCwUMUmFkaW9CdXR0b24xBQxSYWRpb0J
1dHRvbjUFDFJhZGlvQnV0dG9uMwUMUmFkaW9CdXR0b242BQxSY WR
pb0J1dHRvbjYFDFJhZGlvQnV0dG9uNAUMUmFkaW9CdXR0b240B QxSY
WRpb0J1dHRvbjIFDFJhZGlvQnV0dG9uMgUITGlzdEJveDEFDEl tYWdlQn
V0dG9uMX+ZqgDt34Afc7GRf4TwsUC3T85p" />

----------------------

So,
are there differences from EnableviewState False to True?
Where can I see them?
Jul 13 '06 #1
1 973

Uzytkownik "teo" <te*@inwind.itnapisal w wiadomosci
news:h5********************************@4ax.com...

So,
are there differences from EnableviewState False to True?
Where can I see them?
Instead of Response.Redirect try to invoke post method. I'll see that form
remains values of the controls in _ViewState.
--
JS
BRE Bank Dev Team, Poland
Jul 13 '06 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Verwer | last post by:
Hi I have a problem which is easily reproducable using VS.NET 2003 and the .Net framework 1.1 (not tested with framework 1.0) regarding disabling ViewState for dynamically created controls. ...
1
by: Ravikanth[MVP] | last post by:
Hi Even though the Viewstate has been disabled, ASP.NET still uses about twenty bytes for Viewstate. Not only can you disable Viewstate at the page level, but you can also disable Viewstate...
1
by: Mike D | last post by:
This is becoming very painful to learn. I am going through a wrox book and trying the code. My aspx pages continue to come back with my selection highlighted. It looks like EnableViewState is...
7
by: Max Metral | last post by:
I have a Web.config in my application root dir with the following pages directive: <pages buffer="true" enableViewState="false" enableSessionState="false" enableViewStateMac="false"/> And...
5
by: JollyK | last post by:
Hello all, I have always been having this issue and wondering what the solution is. When I set the enableviewstate property to false for a textbox, the textbox always retains its value after a...
2
by: michele | last post by:
Hi, i'm using a datagrid control in my webform, with AutoGenerateColumns=false; it work very well if EnableViewState=true; including paging and sorting, but this cause a big performance issue, so...
1
by: Rob Rutherford | last post by:
I have a Repeater on an ASP.NET page. If I click a Button in the Repeater, the Repeater's ItemCommand event fails to fire. If anyone can explain why it doesn't fire I'd be grateful. Here's the...
1
by: AC | last post by:
Hello, All Is it possible to set enableViewState='true' for single control on a page with enableViewState='false'. In particular I am interested in DropDownList, but neither using IDE to set...
3
by: Joe | last post by:
Hello all: From what I understand the ItemCommand, UpdateCommand, SortCommand, etc events for the datagrid require that the datagrid's enableVireState property is set to true. Does the...
3
by: JohnZing | last post by:
I Have EnableViewState="false" in the top of my page has you can see below <%@ Page Language="VB" EnableViewState="false" MasterPageFile="~/MasterPage.master" AutoEventWireup="false...... I...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.