Browse by Tags

Related Posts

  • Re: Dynamic GridView that can load Any Table

    I almost got it to work. I'm having trouble defining a DataTable based on the passed strTableName variable. I'd like to use the DataTable that I defined in the DLL. I set the table name of the DataTable equal to the passed strTableName, but no columns are found when it tries to loop thru the...
    Posted to Data Presentation Controls (Forum) by shepujw on 05-24-2007, 12:00 AM
    Filed under: dynamic, GridView, ObjectDataSource, DataTable
  • GridView - Dynamic Row Colors

    I have been working on this for several days now and if this has been answered before, please direct me to a link. I need my GridView to have a different color row depending on the value of one of the cells. For instance, if the value is 1, I need that specific row to be red, 2 = orange, 3 = yellow....
    Posted to Data Presentation Controls (Forum) by MainMor on 07-02-2007, 12:00 AM
    Filed under: gridview, CSS, dynamic
  • How far can I use <%# XPath("") %> kind of stuff?

    Hello, I'm trying to fill a GridView with some dynamic XmlDocument, and for now, it works pretty well. Here is what I have : //This array of XmlDocument is the result of a search on a database with some proprietary classes XmlDocument[] TableauNotices = simImport.XMLDOMDocumentArray(IdentifiantsNotices...
    Posted to Data Presentation Controls (Forum) by Strato on 07-13-2007, 12:00 AM
    Filed under: GridView, xml, dynamic
  • GridView with Dynamic DataTable

    I'm working with dynamically generated DataTable stored in a session that I bind to GridView. But I seem to have some issues. 1. When trying to edit the row within GridView. RowEditing event fires and I'm able to get the textboxes to show but in the textbox instead of the value it contains <...
    Posted to Data Presentation Controls (Forum) by shinsoft on 01-12-2008, 12:00 AM
    Filed under: DataTable, dynamic, edit a gridview, GridView
  • Re: HOW TO: Build a dynamic gridView at runtime

    I'm not sure if the following will work for a GridView, but it works for a DataGrid: If you'd rather not build the whole DataGrid by hand, prefering to let VS2005 do the grunt work with the drag'n'drop it does so well, but want to adjust a dataGridItem's attributes conditionally, you can do that as well...
    Posted to FAQ - Frequently Asked Questions (Forum) by RSewell on 03-08-2007, 12:00 AM
    Filed under: GridView, dynamic
  • Re: Persisting dynamic GridView across postbacks

    I finally figured out an acceptable solution. The TemplateFields themselves are automatically restored from viewstate, but the templates themselves aren't (the field's Item/Header/FooterTemplate properties are null). Note: I can't explain it, but I have to call gv.Columns.Clear() before adding...
    Posted to State Management (Forum) by Doctor Sid on 03-06-2008, 12:00 AM
    Filed under: ViewState, Cache, postback, GridView, Caching, lost, dynamic, templatefield
Page 1 of 1 (6 items)