How to apply Style Sheet to PushButton in asp:ButtonColumn in datagrid?
-
How to apply Style Sheet to PushButton in asp:ButtonColumn in datagrid? Any thing applied using datagrid properties, get applied to column not to button.
Hi, Add the attribute (to that button tag in HTML) "cssclass='btn'" if your stylesheet has ".btn" class Pankaj Kulkarni -- modified at 2:18 Thursday 2nd February, 2006
-
Hi, Add the attribute (to that button tag in HTML) "cssclass='btn'" if your stylesheet has ".btn" class Pankaj Kulkarni -- modified at 2:18 Thursday 2nd February, 2006
<asp:ButtonColumn Text="Delete" uttonType="PushButton" cssclass="btn" ommandName="Delete"> </asp:ButtonColumn> here cssclass="btn" gives error,i.e., not supported. <asp:ButtonColumn Text="Delete" uttonType="PushButton" ommandName="Delete"> <ItemStyle cssclass="btn"></ItemStyle> </asp:ButtonColumn> here cssclass="btn" get applied to coloumn of the button. So, I couldn't understand you, where to add this attribute.