This is a migrated thread and some comments may be shown as answers.

RadGrid Pop up edit form labels

2 Answers 122 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ralf
Top achievements
Rank 1
Ralf asked on 23 Sep 2016, 01:07 PM

Hello Telerik,

I'm using a pop up edit form in a Radgrid.  Is it possible to style (font size, color, etc) the Label associated with a given edit item in the code behind?  I have multiple edit fields on the form and I need to change the style of some of the labels. but not all of them.

Also, how can I prevent the colon(":") from being added to the end of my labels.

Thank you.

2 Answers, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 28 Sep 2016, 10:45 AM
Hi Ralf,

You can use the following property yo achieve this requirement:
<telerik:GridDateTimeColumn ...
    EditFormHeaderTextFormat="<span class='editHeaderTextClass'>Hello</span>">
CSS:
.editHeaderTextClass {
    color: red;
    font-weight: 700;
}

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Do you need help with upgrading your ASP.NET AJAX, WPF or WinForms projects? Check the Telerik API Analyzer and share your thoughts.
0
Ralf
Top achievements
Rank 1
answered on 29 Sep 2016, 09:19 PM

Eyup,

Thanks, that did the trick.

Ralf

 

Tags
Grid
Asked by
Ralf
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Ralf
Top achievements
Rank 1
Share this question
or