473,395 Members | 1,653 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,395 software developers and data experts.

2.0: enableviewstate

Here is an interesting one. If I disable viewstate in the web.config file,
but enable it on a specific page, it doesnt save the viewstate on postbacks.
I have to actually enable it in web.config.

Thanks!
Jan 24 '06 #1
3 1209
Hi Param,

Welcome.
For the ViewState setting, I think there may have some other thing that
make it work incorrectly. Page level enableViewState setting will always
override the web.config level setting. Also, is the strange behavior occurs
on other projects on the server?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: <pa***@community.nospam>
| Subject: 2.0: enableviewstate
| Date: Tue, 24 Jan 2006 17:46:01 -0600
| Lines: 7
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <ef*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.lazardgroup.com 69.2.40.60
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:373316
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Here is an interesting one. If I disable viewstate in the web.config
file,
| but enable it on a specific page, it doesnt save the viewstate on
postbacks.
| I have to actually enable it in web.config.
|
| Thanks!
|
|
|

Jan 25 '06 #2
I havent tried other projects, but I can sure try and let you know. It does
seem a bit weird. I dont know of any other setting I changed.

TIA!

"Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
news:qM**************@TK2MSFTNGXA02.phx.gbl...
Hi Param,

Welcome.
For the ViewState setting, I think there may have some other thing that
make it work incorrectly. Page level enableViewState setting will always
override the web.config level setting. Also, is the strange behavior
occurs
on other projects on the server?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)
--------------------
| From: <pa***@community.nospam>
| Subject: 2.0: enableviewstate
| Date: Tue, 24 Jan 2006 17:46:01 -0600
| Lines: 7
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <ef*************@tk2msftngp13.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.lazardgroup.com 69.2.40.60
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:373316
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| Here is an interesting one. If I disable viewstate in the web.config
file,
| but enable it on a specific page, it doesnt save the viewstate on
postbacks.
| I have to actually enable it in web.config.
|
| Thanks!
|
|
|

Jan 25 '06 #3
Seems a bit strange. Do you think it necessary that I attach a test website
project on my side to you for testing?

Regards,

Steven Cheng
Microsoft Online Support

Get Secure! www.microsoft.com/security
(This posting is provided "AS IS", with no warranties, and confers no
rights.)

--------------------
| From: <pa***@community.nospam>
| References: <ef*************@tk2msftngp13.phx.gbl>
<qM**************@TK2MSFTNGXA02.phx.gbl>
| Subject: Re: 2.0: enableviewstate
| Date: Wed, 25 Jan 2006 08:37:16 -0600
| Lines: 57
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| X-RFC2646: Format=Flowed; Original
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| Message-ID: <uI**************@TK2MSFTNGP11.phx.gbl>
| Newsgroups: microsoft.public.dotnet.framework.aspnet
| NNTP-Posting-Host: corp.lazardgroup.com 69.2.40.60
| Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFT NGP11.phx.gbl
| Xref: TK2MSFTNGXA02.phx.gbl
microsoft.public.dotnet.framework.aspnet:373412
| X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
|
| I havent tried other projects, but I can sure try and let you know. It
does
| seem a bit weird. I dont know of any other setting I changed.
|
| TIA!
|
| "Steven Cheng[MSFT]" <st*****@online.microsoft.com> wrote in message
| news:qM**************@TK2MSFTNGXA02.phx.gbl...
| > Hi Param,
| >
| > Welcome.
| > For the ViewState setting, I think there may have some other thing that
| > make it work incorrectly. Page level enableViewState setting will always
| > override the web.config level setting. Also, is the strange behavior
| > occurs
| > on other projects on the server?
| >
| > Regards,
| >
| > Steven Cheng
| > Microsoft Online Support
| >
| > Get Secure! www.microsoft.com/security
| > (This posting is provided "AS IS", with no warranties, and confers no
| > rights.)
| >
| >
| > --------------------
| > | From: <pa***@community.nospam>
| > | Subject: 2.0: enableviewstate
| > | Date: Tue, 24 Jan 2006 17:46:01 -0600
| > | Lines: 7
| > | X-Priority: 3
| > | X-MSMail-Priority: Normal
| > | X-Newsreader: Microsoft Outlook Express 6.00.2900.2527
| > | X-RFC2646: Format=Flowed; Original
| > | X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2527
| > | Message-ID: <ef*************@tk2msftngp13.phx.gbl>
| > | Newsgroups: microsoft.public.dotnet.framework.aspnet
| > | NNTP-Posting-Host: corp.lazardgroup.com 69.2.40.60
| > | Path: TK2MSFTNGXA02.phx.gbl!TK2MSFTNGP08.phx.gbl!tk2msft ngp13.phx.gbl
| > | Xref: TK2MSFTNGXA02.phx.gbl
| > microsoft.public.dotnet.framework.aspnet:373316
| > | X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet
| > |
| > | Here is an interesting one. If I disable viewstate in the web.config
| > file,
| > | but enable it on a specific page, it doesnt save the viewstate on
| > postbacks.
| > | I have to actually enable it in web.config.
| > |
| > | Thanks!
| > |
| > |
| > |
| >
|
|
|

Jan 26 '06 #4

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...
7
by: Brian Henry | last post by:
Hi, I want EnableViewState = false turned on to optimize the end output page (it was over 600KB with it on) but when i turn it off, our pageing functionality no longer works mainly 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...
7
by: Just D. | last post by:
Does anybody know any good solution to avoid this setting to be enabled? I guess Microsoft doesn't care of the Internet connection of the potential client working with asp.net. This EnableViewState...
1
by: Chris Peeters | last post by:
Hi, I have a listBox listed with colornames and a panelcontrol that takes the color of selecteditem from the listbox whenever I click a different item: protected void...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...

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.