I'm testing the RadDataForm control and I've noticed that it doesn't offer the intellisense for binding methods such as SelectMethod, UpdateMethod, InsertMethod, etc... yet the control does support the functionality of these. This is confusing and am wondering if this control is fully compatible with .NET 4.5 webform binding scenarios.
6 Answers, 1 is accepted
0
Hi Kevin,
The RadDataForm control supports ModelBinding. In order to use it you need to set the SelectMethod property to the name of the method that would be used to retrieve the data. If you would like additional information on how you can use ModelBinding and strongly typed data with RadDataForm check out the following article:
Note that the SelectMethod, UpdateMethod, InsertMethod, DeleteMethod are properties. They should be set to a sting value.
The functionality you describe is available for the events of the control. For example ,when you add OnItemUpdating in the markup, the IntelliSense will give you the option to create an event handler automatically.
Regards,
Viktor Tachev
Telerik
The RadDataForm control supports ModelBinding. In order to use it you need to set the SelectMethod property to the name of the method that would be used to retrieve the data. If you would like additional information on how you can use ModelBinding and strongly typed data with RadDataForm check out the following article:
Note that the SelectMethod, UpdateMethod, InsertMethod, DeleteMethod are properties. They should be set to a sting value.
The functionality you describe is available for the events of the control. For example ,when you add OnItemUpdating in the markup, the IntelliSense will give you the option to create an event handler automatically.
Regards,
Viktor Tachev
Telerik
0
Kevin
Top achievements
Rank 2
answered on 26 Nov 2014, 07:06 PM
Hi Viktor, I don't think I was clear enough with my question.
I've noticed a possible bug with the control. Specifically, when working in the XAML and one types ' SelectMethod="" ', the control does not offer the usual "Create New Method" as other controls offer. The control will offer this for other events such as OnItemCancelling, but the lacking of functionality appears to be with the all the model binding methods:
SelectMethod, DeleteMethod, UpdateMethod, etc.
Hopefully this makes more sense now.
Cheers.
I've noticed a possible bug with the control. Specifically, when working in the XAML and one types ' SelectMethod="" ', the control does not offer the usual "Create New Method" as other controls offer. The control will offer this for other events such as OnItemCancelling, but the lacking of functionality appears to be with the all the model binding methods:
SelectMethod, DeleteMethod, UpdateMethod, etc.
Hopefully this makes more sense now.
Cheers.
0
Kevin
Top achievements
Rank 2
answered on 26 Nov 2014, 08:21 PM
Just to add, I'm talking specifically about the support of the auto-creation for the method stub in the code behind.
0
Hi Kevin,
The behavior you are describing is caused because IntelliSense needs a special attribute in order to provide the option for creating a method. I have notified the developers and they will investigate why the option is not provided for the RadDataForm control.
As a token of gratitude for reporting the behavior yo us your Telerik points have been updated.
Regards,
Viktor Tachev
Telerik
The behavior you are describing is caused because IntelliSense needs a special attribute in order to provide the option for creating a method. I have notified the developers and they will investigate why the option is not provided for the RadDataForm control.
As a token of gratitude for reporting the behavior yo us your Telerik points have been updated.
Regards,
Viktor Tachev
Telerik
0
David
Top achievements
Rank 1
answered on 16 Nov 2015, 07:26 PM
This issue still exists. No intelligence 'create method' for object bound dataforms.
0