Theme skin Font-Size won't work for GridView CommandField Buttons

B

Burt

I am trying to move all control attributes to a theme skin file but cannot
get GridView Button accept a Font-Size attribute. Everything else works fine.
<asp:GridView ....
<asp:CommandField ButtonType="Button">
<ControlStyle Font-Size="X-Small" />
</asp:CommandField>
</asp:GridView>

I have even tried setting a default Button attribute but it won't work for
CommandField buttons in a GridView.
<asp:Button runat="server" Font-Size="X-Small" />

There must be a way to do this. Any suggestions. Maybe it a bug.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,776
Messages
2,569,603
Members
45,197
Latest member
ScottChare

Latest Threads

Top