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. Advertising

  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. Advertising

  3. Patrick Olurotimi Ige, Dec 14, 2004
    #3
    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. =?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:
    729
    =?Utf-8?B?U3RldmUgS2FsbGFs?=
    Jul 6, 2004
  2. =?Utf-8?B?SmFjcXVlcyBMZWNsZXJj?=

    RE: Setting CssClass on Edit, Update & Cancel buttons

    =?Utf-8?B?SmFjcXVlcyBMZWNsZXJj?=, Jul 6, 2004, in forum: ASP .Net
    Replies:
    0
    Views:
    498
    =?Utf-8?B?SmFjcXVlcyBMZWNsZXJj?=
    Jul 6, 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,399
    =?Utf-8?B?cG11ZA==?=
    Dec 28, 2004
  4. Stephen

    Edit, Update, Cancel Push button question

    Stephen, Sep 7, 2004, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    147
    Stephen
    Sep 7, 2004
  5. Marco Liedekerken
    Replies:
    0
    Views:
    1,051
    Marco Liedekerken
    Nov 8, 2006
Loading...

Share This Page