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

Multiline Label in DataFormDataField

1 Answer 182 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Sayle
Top achievements
Rank 1
Sayle asked on 18 Jun 2014, 06:12 PM
I have some properties that use a DataFormDataField (will be a text field with a label) and the label will be very long so it needs to wrap to a new line.

So far I have been unable to do. Tried to build a template for the label on it, but cannot find the element needed to set this value.

What is the correct way to do this?

1 Answer, 1 is accepted

Sort by
0
Dimitrina
Telerik team
answered on 23 Jun 2014, 12:55 PM
Hi,

You will need to edit the template the DataFormDataField, specifically the "PART_Label", and alter it accordingly to meet your requirements. You can check the Styling DataFormDataField article as a reference.
I can also suggest you to use NoXaml binaries and Implicit Styles as explain in our online documentation

Regards,
Didie
Telerik
 
Check out Telerik Analytics, the service which allows developers to discover app usage patterns, analyze user data, log exceptions, solve problems and profile application performance at run time. Watch the videos and start improving your app based on facts, not hunches.
 
Tags
DataForm
Asked by
Sayle
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Share this question
or