Textbox Font and Fontsize in Edit Mode

R

Raghavendra T V

Hi RockNRoll,

You can change the Font,fontsize for a datagrid in editmode by
using this event

Create a CSS class with some name and add the font size, font style
etc..etc..

private void DataGridName_EditCommand()
{
e.Item.CssClass = "ClassName";

}

The above code will change the style at runtime.

You can also change the style at design time.
If your columns in Datagrid are template columns then you can rightclick on
grid and click on edit column [0] , column[1] ..etc..
and then choose the controls in the grid and set the CSS style for
editItemTemplate accordingly in Css in property window.

Hope this helps you.

Thanks
Raghavendra
 

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
474,266
Messages
2,571,087
Members
48,773
Latest member
Kaybee

Latest Threads

Top