Browse by Tags

Related Posts

  • RowCommand in a dynamic TemplateField

    I have a GridView with a few static TemplateFields and am creating several dynamic TemplateFields for a GridView using a column generator I wrote (implements IAutoFieldGenerator). The ItemTemplate for the field contains a textbox, a label and an imagebutton. When the button is clicked, the RowCommand...
    Posted to Data Presentation Controls (Forum) by Echilon on 12-03-2008, 12:00 AM
    Filed under: TemplateField, iautofieldgenerator, GridView, dynamic
  • Using Gridview with Dynamically Created Tamplate Columns (ITemplate)

    Hi, I have a requirement to use a gridview with dynamically created template fields. My source data is in a cross tabular format, each row of data will need to be in an editable state on the gridview. Once the user has made the changes to the data I will use my own update logic looping through the gridview...
    Posted to Data Presentation Controls (Forum) by anjenkin84 on 08-14-2008, 12:00 AM
    Filed under: ITtemplate, 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: postback, templatefield, ViewState, Cache, Caching, dynamic, lost, GridView
  • 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, edit a gridview, GridView, 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: xml, GridView, dynamic
  • 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: dynamic, CSS, gridview
  • 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: ObjectDataSource, DataTable, dynamic, 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 Tips & Tricks (Forum) by RSewell on 03-08-2007, 12:00 AM
    Filed under: dynamic, GridView
  • Adding Simple Pagination to Dynamic Gridview

    Hello guys! So I 've seen quite a bit about adding pagination to gridviews but it seems like the whole process is being overcomplicated for my needs. I don't want any extra features or "improvements" on the standard default pagination that can be enabled through the gridview. I know...
    Posted to Data Presentation Controls (Forum) by mguvu on 06-30-2009, 12:00 AM
    Filed under: GridView, dynamic, simple, pagination
  • Dynamically creating Template Field in GridView

    I'm looking to create a template field and add it to my GridView control. I need this template field to contain a drop down list. Here's what I have so far... TemplateField TestLab = new TemplateField (); TestLab.ItemTemplate = I'm not sure then how to define the ItemTemplate field, since...
    Posted to Data Presentation Controls (Forum) by pjlyons on 11-20-2009, 12:00 AM
    Filed under: DropDownList, gridview, dynamic, template field
Page 1 of 1 (10 items)