Browse by Tags

Related Posts

  • Prevent ImageButton from causing postback

    Hi, I'm trying to create a GridView with an Insert Row. I've got an EmptyDataTemplate with 2 ImageButtons (Insert and Cancel) and a TextBox. I keep on ObjectId on the viewstate. When clicking the insert button, the value in the textbox should be added to the database (where i need the objectId). This...
    Posted to Web Forms (Forum) by HanzZwiebel on 04-20-2007, 12:00 AM
    Filed under: postback, view state controls, View state Problem, ViewState, asp.net, controlstate
  • Programmatically added tablerows with nested checkbox controls lost on postback

    Hi, I have huge issues getting programmatically added tablerows to be persisted between postbacks. My page is based on the wizard control and every other control is nested in it. I've tried to move the row addition to the Page Init stage, but then the rows show up after the second postback. Finally I...
    Posted to State Management (Forum) by alekl on 02-27-2007, 12:00 AM
    Filed under: postback, program, asp.net, asp.net 2.0, controlstate, "dynamic controls", lifecycle
  • Maintaining ViewState and Control order of dynamically added controls

    I realize much has been posted about the topic of ViewState maintenance of dynamic controls, but here's one problem I simply can't get my head round. While it is fine to add dynamic controls and re-create them upon a PostBack with identical ID's so the ViewState doesn't get confused, I also want to allow...
    Posted to State Management (Forum) by Karloff on 12-04-2006, 12:00 AM
    Filed under: postback, ViewState, Custom Server Control, view state controls, controlstate
Page 1 of 1 (3 items)