I didn't see examples in documents, any hint? Thanks.
3 Answers, 1 is accepted
0
Deyan
Telerik team
answered on 11 Mar 2013, 08:37 AM
Hello Ben,
Thanks for writing.
In the Working with Attributes section of the RadDataForm online help there is a list of attributes wich you can define on your business object properties to modify the form's behavior. So, to make the editor for a Boolean property be a Check box, you need to use the BooleanEditorTypeAttribute:
[BooleanEditorType(BooleanEditorType.CheckBox)]
public bool MyBoolProperty
{
get;
set;
}
I hope this helps.
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.
I'm sorry, what I actually want is a multi selection property, for example List<Integer> for checked index list. Not just a on/off checkbox.
So how should I implement that? Thanks.
0
Deyan
Telerik team
answered on 27 Mar 2013, 11:53 AM
Hi Ben,
Currently there is not an out-of-the box way to implement this behavior. We will log this into our TODO list and will make sure to consider it when planning the vNext features of RadDataForm.
Let me know should you have further questions or need assistance.
All the best,
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.