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

Layout of DataForm

2 Answers 41 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Thomas
Top achievements
Rank 1
Thomas asked on 28 Jun 2011, 03:05 PM
I'd like to use the RadDataForm for our LoB app - but it seems we can't due to our needs to achive a more flexible Layout.
It's not that complicated - but I wasn't able to align even a simple layout like on the attached image.
Or is it be possible to get a result like in the attached screenshot using the DataForm?

Thanks for your answer!
Thomas

2 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 29 Jun 2011, 04:31 PM
Hi Thomas Mutzl,

Using the technique demonstrated in this online example should help you achieve the desired result.

Generally you can place data fields in any container , and achieve any layout setting the three templates - the ReadOnlyTemplate, the NewItemTemplate and the EditTemplate.

Regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Thomas
Top achievements
Rank 1
answered on 29 Jun 2011, 04:41 PM
Well, the problem is the label of DataFormDataField. It seems it is using space even if it is empty. And setting the labelStyle to width=0 didn't help either.
Tags
DataForm
Asked by
Thomas
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
Thomas
Top achievements
Rank 1
Share this question
or