applying CssClass to Edit/Update/Cancel button in Datagrid

Discussion in 'ASP .Net' started by Craig G, Dec 14, 2004.

  1. Craig G

    Craig G Guest

    is it possible to apply a style to the button? so far i cant work out how

    tried this but it wont work
    <asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
    CancelText="Cancel" EditText="Edit">
    <ItemStyle CssClass="yarGridButton"></ItemStyle>
    </asp:EditCommandColumn>

    Cheers,
    Craig
     
    Craig G, Dec 14, 2004
    #1
    1. Advertisements

  2. Craig G

    Craig G Guest

    in the end i just converted it to a template column and applied the style
    that way

    "Craig G" <> wrote in message
    news:%...
    > is it possible to apply a style to the button? so far i cant work out how
    >
    > tried this but it wont work
    > <asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
    > CancelText="Cancel" EditText="Edit">
    > <ItemStyle CssClass="yarGridButton"></ItemStyle>
    > </asp:EditCommandColumn>
    >
    > Cheers,
    > Craig
    >
    >
     
    Craig G, Dec 14, 2004
    #2
    1. Advertisements

  3. Patrick Olurotimi Ige, Dec 14, 2004
    #3
    1. Advertisements

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. =?Utf-8?B?U3RldmUgS2FsbGFs?=

    CssClass on DataGrid Edit, Update & Cancel buttons

    =?Utf-8?B?U3RldmUgS2FsbGFs?=, Jul 6, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    896
    =?Utf-8?B?U3RldmUgS2FsbGFs?=
    Jul 6, 2004
  2. Lucas Tam
    Replies:
    1
    Views:
    599
    Lucas Tam
    Jul 30, 2004
  3. =?Utf-8?B?cG11ZA==?=

    CANT see EDIT UPDATE CANCEL Buttons for DATAGRID

    =?Utf-8?B?cG11ZA==?=, Dec 28, 2004, in forum: ASP .Net
    Replies:
    3
    Views:
    2,561
    =?Utf-8?B?cG11ZA==?=
    Dec 28, 2004
  4. Andreas Klemt
    Replies:
    0
    Views:
    524
    Andreas Klemt
    Oct 8, 2003
  5. bgledet

    Datagrid disappearing on Edit, Update, or Cancel

    bgledet, Apr 27, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    3
    Views:
    291
    Scott G.
    Apr 27, 2004
  6. Stephen

    Edit, Update, Cancel Push button question

    Stephen, Sep 7, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    238
    Stephen
    Sep 7, 2004
  7. Marco Liedekerken
    Replies:
    0
    Views:
    1,421
    Marco Liedekerken
    Nov 8, 2006
  8. CGW
    Replies:
    0
    Views:
    201
Loading...