Browse by Tags

Related Posts

  • ViewState Persists in Dynamic Controls Adding

    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...
    Posted to State Management (Forum) by net fan on 06-02-2009, 12:00 AM
    Filed under: Persists, ViewState, controls, dynamic, Adding
  • Re: persisting dynamic pages upon postback...

    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...
    Posted to Web Forms (Forum) by chohner on 05-19-2009, 12:00 AM
    Filed under: ViewState, dynamic content
  • Re: Viewstate vs HiddenField?

    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...
    Posted to State Management (Forum) by svmr on 05-13-2009, 12:00 AM
    Filed under: page persister, ViewState
  • User Control inside Repeater Losse ViewState on Repeater Paging

    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...
    Posted to Data Presentation Controls (Forum) by mohi88 on 05-12-2009, 12:00 AM
    Filed under: Repeater, UserControl ascx, ViewState
  • Using viewstate to persist the value of my web server 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...
    Posted to State Management (Forum) by tassieboy on 05-11-2009, 12:00 AM
    Filed under: ViewState
  • Invalid Viewstate on ScriptResource.axd - this is a weird one

    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
  • Re: how to persist user control?

    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
  • GridView Lost Data Postback

    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...
    Posted to Data Presentation Controls (Forum) by SteveHDI on 04-22-2009, 12:00 AM
    Filed under: postback, Viewstate, Lost, MasterPage, GridView, "Asp.net 3.5"
  • Re: Prevent the user from posting the page twice using an image button

    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...
    Posted to Web Forms (Forum) by narendersinghkahlon on 04-20-2009, 12:00 AM
    Filed under: posback, ViewState, button, c#
  • Checkboxlist, Viewstate, and Button Click Event not firing

    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...
    Posted to Getting Started (Forum) by ochaocha on 03-27-2009, 12:00 AM
    Filed under: ViewState, checkboxlist, onclick event
Page 1 of 25 (247 items) 1 2 3 4 5 Next > ... Last »