Browse by Tags

Related Posts

  • OldValues of FormView not being updated with subsequent updates/databindings

    We are experiencing a very frustrating situation that I'll do my best to explain. We have a UserControl with a FormView on it. The UserControl creates a SqlDataSource in its OnLoad event and assigns the ID to the DataSourceID property of the FormView. At run time, the FormView is displayed in edit...
    Posted to Data Presentation Controls (Forum) by ShellyFM on 06-03-2009, 12:00 AM
    Filed under: OldValues, postback, sqldatasource, databind, datasource, FormView
  • Databind on Postback

    I have a databound gridview that is bound to an xml file. The user enters information in some text boxes, upon clicking the ok button, the xml file stores the new information. This works correctly. I assumed that the gridview would bind the data automatically on postback. It does not do this. Any thoughts...
    Posted to Web Forms (Forum) by ASP.NETaholic on 11-03-2008, 12:00 AM
    Filed under: PostBack, databind
  • Problem with losing viewstate after a postback event + databind

    I'm trying to write a "GroupingListView" control that inherits from the ListView control. Basically, instead of putting x number of items into each group, it groups by a specified key. Most of my implementation involves overriding the CreateItemsInGroups method, and I'm using Lutz Roeder's...
    Posted to State Management (Forum) by Daniel Schaffer on 05-23-2008, 12:00 AM
    Filed under: postback, ViewState, databind, listview
  • setting label to visible with button click

    Hi, I'm having some problems with using a label to display a message "No Records Found" when the user clicks a Search button. What I want it to do is to check if there are any results from a database that get displayed on a GridView. I have the following method so far: ------------------------------...
    Posted to Data Presentation Controls (Forum) by tomosap on 02-27-2007, 12:00 AM
    Filed under: paging, postback, records, rows, table adapter, textbox, VB, Visible, access database, ADO.NET, asp.net 2.0, asp.net 2.0 GridView databound ItemTemplate, Client, codebehind, data, data access layer, database, databind, databinding, DropDownList, If Statement, GridView, label
Page 1 of 1 (4 items)