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

DataFormField Templateing

1 Answer 39 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Big G
Top achievements
Rank 1
Big G asked on 04 Feb 2013, 05:00 PM
How do you template a DataFormField so that the font used is say blue and the border of the box is blue?

I tried going through the source and copying to style from there but all I could do was create a big blue border around the DataFormField which is not what I am after.

EDIT:
Am I right in thinking that the DataFormField is automatically generated so you can't really style it because it could be a textbox, or listpicker etc...

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 06 Feb 2013, 08:39 AM
Hello Gareth,

Thanks for writing and for your question.

Yes, you are correct: the DataFormField is actually a base class for all different editor fields that RadDataForm automatically generates according to the associated property type on your business object.

RadDataForm exposes the DataFieldStyle property which you can use to apply a different style to the data form fields.

Since RadDataForm is a relatively new component, we will appreciate your feedback on it and your suggestions that might help us improve it.

Thanks for your time.

Greetings,
Deyan
the Telerik team
Have a suggestion or face a problem - you can use the Ideas & Feedback portal to submit ideas, feedback and vote for them.
Tags
DataForm
Asked by
Big G
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or