473,407 Members | 2,598 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,407 software developers and data experts.

EnableViewState doesn't change a thing

Hi,

I have an ASP.NET 2.0 webpage where 4 gridviews are, all
interdependant. I want the data to be rebinded for all gridviews,
everytime my page is reloaded/postbacked. So, I put
"EnableViewState="False" in my page directive, in the first line.

Well it doesn't do anything and I don't understand why. When I delete a
record in the first gridview for example, its data on the second one is
still there, even tho I say to databind each darn postback...and it's
the same for any gridview update/delete. Anybody knows why it does
that? It's driving me nuts.

Thank you so much,

ibiza

Jan 30 '06 #1
0 804

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

Similar topics

8
by: seans | last post by:
Hi, please can someone help with this? I have a dropdown list on an aspx page bound to a table in an SQL Server database. EnableViewState is set to true but when I change the entry in the drop down...
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...
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...
6
by: Chris | last post by:
I've created two textboxes and one button on my web form. I then set the EnableViewState property of Textbox1 to False. Textbox2 is set to True. The button has no code in it - It simply has an...
3
by: Paul W | last post by:
I have a ListBox Webcontrol with an OnSelectedIndexChanged event (and AutoPostBack=true). If I disable EnableViewState for this control, when I change the listbox index, the form does a postback...
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...
3
by: | last post by:
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. ...
2
by: teo | last post by:
I have a Listbox, if I set EnableViewStarte = False the AutopostaBack fired by SelectedIndexChanged doesn't work. The 'SelectedIndexChanged' event should call
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?
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
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
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...
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
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.