Browse by Tags

Related Posts

  • Problem getting input value from a textbox in a Gridview Control

    I placed a text box in one of my template columns in a gridview control: <Columns> <asp:CommandField ShowEditButton="True" /> <asp:TemplateField><ItemTemplate><asp:TextBox runat=server ID="TextBox" Width="30"></asp:TextBox></ItemTemplate><...
    Posted to Data Presentation Controls (Forum) by Juwar on 05-24-2007, 12:00 AM
    Filed under: GridView, data, textbox, ItemTemplate, Findcontrol gridview
  • GridView DataBind Postback and Viewstate - Accessing rows after postback and before bind

    Scenario: Custom collection of business objects with public properties Bound directly to an asp.net 2.0 GridView Columns declared as a mix of BoundFields and TemplateFields A TemplateField with an asp.net control in the ItemTemplate is included Form postback button after the gridview posts it back to...
    Posted to Data Presentation Controls (Forum) by craigrowe on 06-04-2007, 12:00 AM
    Filed under: GridView, postback, GridView DataBinding Template Field, ItemTemplate
  • Gridview on RowCommand i cant get itemtemplate label text??????

    Hi, I have to retrieve from a gridviewrow on rowcommand a certain cell with a label... this label is in a itemtemplate! I had already used the ctype(row.findcontrol(...), label).text and the ctype(row.cell(1).controls.item(2), label).text and they both return me the value ""... If i use the...
    Posted to Data Presentation Controls (Forum) by Luis Simoes on 09-28-2007, 12:00 AM
    Filed under: gridview, empty string, FindControl, rowcommand, itemTemplate
  • Re: complex gridview? page

    When you use ItemTemplate in a GridView you are able to format the data display. You can use tables, div's or whatever. Copy and paste your html block from your asp page inside your item template and twick it accordingly. Use <%# Eval(columnName) %> to fill the fields you want. Hope this helps...
    Posted to Data Presentation Controls (Forum) by andrecarrilho on 11-02-2007, 12:00 AM
    Filed under: GridView, ItemTemplate
  • how to format a textbox in an item template

    for boundfield in a gridview I use this: <asp:BoundField DataField="DOB" DataFormatString="{0:dd/MM/yyyy}" HeaderText="DOB" SortExpression="DOB" > <ItemStyle Wrap="False" /> </asp:BoundField> But for an item template which has a label...
    Posted to Data Presentation Controls (Forum) by aspnetdev2000 on 01-24-2008, 12:00 AM
    Filed under: gridview, date formatting, datetime format pattern, date format local mm/dd/yyyy, Custom Format Strings, itemTemplate, Data Format
  • LoadTemplate from a database?

    I have built a custom GridView that binds to user preferences to identify how the grid should be displayed. The idea is that I define the available columns in the database and the user can choose to hide or display various columns. In addition, they can specify the order of the columns and the default...
    Posted to Data Presentation Controls (Forum) by FreshFrince on 03-19-2008, 12:00 AM
    Filed under: gridview, ITemplate, ItemTemplate
Page 1 of 1 (6 items)