Format Pushbutton in EditCommandColumn of DataGrid

Discussion in 'ASP .Net Web Controls' started by corndog, Jun 8, 2005.

  1. corndog

    corndog Guest

    I have a Datagrid control with an edit command column, which has a
    PushButton ButtonType.

    I am trying to apply formatting to the button, to set the font-size and also
    the font name.

    I have only been able to come up with the following...

    <asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
    CancelText="Cancel" EditText="Edit">
    <HeaderStyle Width="10%"></HeaderStyle>
    <ItemStyle Font-Names="Verdana" Font-Size="8pt"></ItemStyle>
    </asp:EditCommandColumn>

    This however applies formatting to the cell that the button is contained
    in, not the button. Is there any way to do this?
     
    corndog, Jun 8, 2005
    #1
    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. Mark
    Replies:
    1
    Views:
    475
  2. Curtis Hatter

    Solving DataGrid's PushButton Problem

    Curtis Hatter, Oct 14, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    1,862
  3. angus
    Replies:
    1
    Views:
    531
    angus
    May 14, 2004
  4. angus

    <asp:EditCommandColumn/> for PushButton bugs?

    angus, May 14, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    219
    angus
    May 14, 2004
  5. corndog

    Datagrid - How to format EditCommandColumn?

    corndog, Jun 14, 2005, in forum: ASP .Net Web Controls
    Replies:
    3
    Views:
    232
    Harolds
    Jun 14, 2005
Loading...

Share This Page