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

Can I customize commands of RadDataForm using <telerik:EventToCommandBehavior.EventBindings> or <i:Interaction.Triggers>?

1 Answer 22 Views
DataForm
This is a migrated thread and some comments may be shown as answers.
Eugene
Top achievements
Rank 1
Eugene asked on 18 Apr 2016, 02:02 PM
Hi! I develop WPF MVVM Prism 6 application. Please tell me the following: Can I customize commands of RadDataForm (Insert, Update, Cansel, Next, Previouse, First, Last) only by creation of my own class that inherits from DataFormCommandProvider or I can also use <telerik:EventToCommandBehavior.EventBindings> or <i:Interaction.Triggers> for it?

1 Answer, 1 is accepted

Sort by
0
Ivan Ivanov
Telerik team
answered on 18 Apr 2016, 04:35 PM
Hi,

Can you please confirm what do you mean by mentioning that you want to customize the commands by using the listed EventoToCommand pattern alternatives? You can use them to define custom commands that execute on the occurrence of the desired events.  However, I would still recommend that you use them only for scenarios when the exposed set of commands won't do the work, even with a custom provider. Otherwise, you may need custom provider to disable the default commands, as they may interfere with the custom EvenToCommand logic that is added.

Regards,
Ivan Ivanov
Telerik
Do you need help with upgrading your AJAX, WPF or WinForms project? Check the Telerik API Analyzer and share your thoughts.
Tags
DataForm
Asked by
Eugene
Top achievements
Rank 1
Answers by
Ivan Ivanov
Telerik team
Share this question
or