applying CssClass to Edit/Update/Cancel button in Datagrid

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Craig G

    applying CssClass to Edit/Update/Cancel button in Datagrid

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

    tried this but it wont work
    <asp:EditComman dColumn ButtonType="Pus hButton" UpdateText="Upd ate"
    CancelText="Can cel" EditText="Edit" >
    <ItemStyle CssClass="yarGr idButton"></ItemStyle>
    </asp:EditCommand Column>

    Cheers,
    Craig


  • Craig G

    #2
    Re: applying CssClass to Edit/Update/Cancel button in Datagrid

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

    "Craig G" <craig.gamble@y arrasoftware.co m> wrote in message
    news:%23f7WsMc4 EHA.1400@TK2MSF TNGP11.phx.gbl. ..[color=blue]
    > is it possible to apply a style to the button? so far i cant work out how
    >
    > tried this but it wont work
    > <asp:EditComman dColumn ButtonType="Pus hButton" UpdateText="Upd ate"
    > CancelText="Can cel" EditText="Edit" >
    > <ItemStyle CssClass="yarGr idButton"></ItemStyle>
    > </asp:EditCommand Column>
    >
    > Cheers,
    > Craig
    >
    >[/color]


    Comment

    • Patrick Olurotimi Ige

      #3
      Re: applying CssClass to Edit/Update/Cancel button in Datagrid

      Craig good u got another trick!
      But look trhough:-


      ml

      Enjoy.
      Patrick





      *** Sent via Developersdex http://www.developersdex.com ***
      Don't just participate in USENET...get rewarded for it!

      Comment

      Working...