Format Pushbutton in EditCommandColumn of DataGrid

C

corndog

I have a Datagrid control with an edit command column, which has a
PushButton ButtonType.

I am trying to apply formatting to the button, to set the font-size and also
the font name.

I have only been able to come up with the following...

<asp:EditCommandColumn ButtonType="PushButton" UpdateText="Update"
CancelText="Cancel" EditText="Edit">
<HeaderStyle Width="10%"></HeaderStyle>
<ItemStyle Font-Names="Verdana" Font-Size="8pt"></ItemStyle>
</asp:EditCommandColumn>

This however applies formatting to the cell that the button is contained
in, not the button. Is there any way to do this?
 

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

Forum statistics

Threads
473,755
Messages
2,569,537
Members
45,020
Latest member
GenesisGai

Latest Threads

Top