I'm trying to use a ButtonColumn in a datagrid and add some style attributes to the buttons.
<ASP:ButtonColumn text="Send Update"
Itemstyle-CssClass="colbutton" ButtonType="PushButton"
CommandName="DoUpdate" />
I have a CSS style sheet in the head of the page:
<Style ref="stylesheet" type="text/css">
<!--
.ColButton{ background-color:#FFFFCC;
color:#996633;
width:100px;
Height:20px;
}
-->
</Style>
I can successfully attache the stylesheet to other objects such as the datagrid, but can't seem to get the buttoncolumn to take the style.
What am I missing?
Thanks
Tom T
<ASP:ButtonColumn text="Send Update"
Itemstyle-CssClass="colbutton" ButtonType="PushButton"
CommandName="DoUpdate" />
I have a CSS style sheet in the head of the page:
<Style ref="stylesheet" type="text/css">
<!--
.ColButton{ background-color:#FFFFCC;
color:#996633;
width:100px;
Height:20px;
}
-->
</Style>
I can successfully attache the stylesheet to other objects such as the datagrid, but can't seem to get the buttoncolumn to take the style.
What am I missing?
Thanks
Tom T