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

Change EditTemplate for RadDataForm at runtime

1 Answer 66 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Spencer
Top achievements
Rank 1
Spencer asked on 14 Aug 2014, 09:52 PM
I have a RadDataForm and an EditTemplate defined. What I would like to do is have two different EditTemplates based on user role (different fields and edit capabilities), and switch to the appropriate one at run time. Is there a way to do this?

1 Answer, 1 is accepted

Sort by
0
Yoan
Telerik team
answered on 15 Aug 2014, 08:31 AM
Hello Spencer,

I can suggest to use a DataTemplate Selector as demonstrated in this help article. Please, do not hesitate to contact me if you encounter any problems.

Regards,
Yoan
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
Spencer
Top achievements
Rank 1
Answers by
Yoan
Telerik team
Share this question
or