EditColumn

Discussion in 'ASP .Net' started by Jim Heavey, Nov 17, 2003.

  1. Jim Heavey

    Jim Heavey Guest

    Hello
    How can I alter the footer of the <asp:editCommandColumn?
    For all of the other columns I am using the
    <FooterTemplate, but that does not seem to be available
    to me for the EditCommandColumn.

    Do I have to use the ItemCreate Event?
    Jim Heavey, Nov 17, 2003
    #1
    1. Advertising

  2. Jim Heavey

    Natty Gur Guest

    Hi,

    Yes :
    private void DataGrid1_ItemCreated(object sender,
    System.Web.UI.WebControls.DataGridItemEventArgs e)
    {

    //e.CheckedChanged
    if ( e.Item.ItemType == ListItemType.Footer )
    {
    e.Item.Cells[4].Text = "MyFotter";
    }
    }

    Natty Gur[MVP]

    blog : http://weblogs.asp.net/ngur
    Mobile: +972-(0)58-888377


    *** Sent via Developersdex http://www.developersdex.com ***
    Don't just participate in USENET...get rewarded for it!
    Natty Gur, Nov 18, 2003
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. EditColumn Events methods

    , Apr 7, 2005, in forum: ASP .Net
    Replies:
    1
    Views:
    395
    Elton Wang
    Apr 8, 2005
  2. Thiago Temple

    CSS in EditColumn and EditItem

    Thiago Temple, Sep 12, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    98
    Thiago Temple
    Sep 12, 2003
  3. Thiago Temple

    CSS in EditColumn and EditItem

    Thiago Temple, Sep 15, 2003, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    111
    Thiago Temple
    Sep 15, 2003
Loading...

Share This Page