-
Hi All, I'm developing a page that consists of a button a drop down list and an empty Table (I mean the .Net server side Table but I didn't add rows to it with intention to add them at runtime). When the button is clicked, the table gets filled with rows and cells according to the selected value...
-
I am posting my updated code.... Everything works the way I want it except when I add a new tab and the page does a postback I loose the other tabs content. I took the suggestion of adding the tabs back in exactly as they were when they were created, other than passing the url of the page, and put this...
-
Hi Jobe, [quote user="jobejufranz"] Hi Guys, I just want to ask some suggestions here. I am currently dealing with large text data on a single page. Which is more efficient to use, Viewstate or HiddenField? Currently i am using HiddenField but before i store it in the HiddenField i am converting...
-
I have a user control which binds inside a Repeater. A label inside the usercontrol binds depending on the repeater row data. whene the repeater loads the usercontrol loads well and every thing is ok. but when paging the repeater the user control losses state and the label text inside the user control...
-
I am trying to get my head around implementing the persistance of a web server control value through viewstate in asp.net. I am used to handling all state information manually in php and asp, but I know that ASP.NET has internal mechanisms for this. I have created a control which represents a group of...
-
I'm getting an Invalid Viewstate error on requests to ScriptResource.axd on one of our web applications. The weird thing with this one is the request that's causing the error. Checking the error log on our web server, I found the following HTTP request causing the error (I did change the URL...
Posted to
State Management
(Forum)
by
SyracuseCheer
on
05-05-2009, 12:00 AM
Filed under: view state, view state failed, View state Problem, ViewState, ViewState problem, viewstate validation
-
I had the same problem with my code and it was driving me insane until I discovered that one of my events for my user control was populating the control on postback or during specific events. I'd set the viewstate and everything. As the other developers suggested, loss of persistence usually occurs...
Posted to
Architecture
(Forum)
by
crandall
on
04-26-2009, 12:00 AM
Filed under: persist changes, postback, User Control, viewstate, ASP .net 2. 0
-
Hi, I'm new with VS.NET 2008 and Framework 3.5 and I have a problem with GridView. I tried many new features and I'm not sure where I did a mistake in my code. My application has a GridView with all values editables. When I click on Save button, GridView.DataSource equals null. My page is in...
-
As suggested earlier disable the button. The another way is to add and value to view state of like posted and then check for that. if that key exists in view state then immediately return from thet position. Please mark this as answer if you found this post helpful for you. Thanks, Narender Singh http...
-
I have an issue I can't figure out. I have a checkboxlist on a page that is populated with names from a database on the page_load event. But when I have enableviewstate = true on the control, the buttons don't work at all. If I set enableviewstate = false, then the buttons work, but the list...