Need to add CSS to a linkbutton

Discussion in 'ASP .Net Web Controls' started by Maziar Aflatoun, Feb 15, 2005.

  1. Hi,

    Does anyone know how I can add a css to the following button. I want to add
    it so that Update, Cancel and Edit have the css in the form of <a href=""
    class="">Update</a>
    <asp:EditCommandColumn ButtonType="LinkButton" UpdateText="Update"
    CancelText="Cancel" EditText="Edit"></asp:EditCommandColumn>

    Thank you
    Maz.
    Maziar Aflatoun, Feb 15, 2005
    #1
    1. Advertising

  2. Maziar Aflatoun

    Wilco Bauwer Guest

    Lookup ItemStyle-CssClass. It's part of the EditCommandColumn's base
    class DataGridColumn.
    Wilco Bauwer, Feb 15, 2005
    #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. Hu Dong

    dynamically add linkbutton

    Hu Dong, Dec 15, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    10,015
    Natty Gur
    Dec 16, 2003
  2. Danny Ni
    Replies:
    1
    Views:
    1,648
    Mark Rae
    Jan 29, 2005
  3. Sathyaish
    Replies:
    3
    Views:
    3,079
    Sathyaish
    Sep 8, 2005
  4. graphicsxp

    Add linkbutton field to Gridview

    graphicsxp, Jul 11, 2006, in forum: ASP .Net
    Replies:
    7
    Views:
    93,349
    patil.sandiip
    Dec 9, 2010
  5. Sathyaish

    Linkbutton does not look like a linkbutton

    Sathyaish, Sep 8, 2005, in forum: ASP .Net Datagrid Control
    Replies:
    1
    Views:
    171
    Sathyaish
    Sep 8, 2005
Loading...

Share This Page