Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

EditCommandColumn(Datagrid)

Status
Not open for further replies.

ami7

Programmer
Oct 3, 2002
48
GB
Hi all,

In my .css file i have a class with the foll prop:
.CHANGEFONT
{
font-size: 6pt;
font-family: Verdana, Arial;
color:Blue;
font-weight:bold;}

I have a datagrid with some template columns and editcommandcolumns(edit,update,cancel)

1) In my page made a reference to this style sheet.
2) and in the datagrid properties(in html) i tried setting this class like this:

<asp:EditCommandColumn ItemStyle-CssClass=&quot;CHANGEFONT&quot; ButtonType=&quot;LinkButton&quot; UpdateText=&quot;Update&quot; CancelText=&quot;Cancel&quot; EditText=&quot;Edit&quot;></asp:EditCommandColumn>

It accepts the changes for all properties except for font-size..I am just trying to set the font size to 6pt using a css class...

Is there any known probs on this??


Pls help.
ami.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top