Unplanned
Last Updated: 18 Aug 2023 15:43 by Greg
dominic
Created on: 17 Nov 2022 12:48
Category: Grid
Type: Feature Request
11
Add the ability to manually populate the model properties when creating/editing items
I would like to be able to use complex models (such as those generated from CSLA.NET) for the Grid. 
5 comments
Greg
Posted on: 18 Aug 2023 15:43

I agree this is a critical feature. I also use CSLA - and I am sure that the majority of programmers use a similar form of "smart" business objects not POCOs in their projects.

Currently, when Telerik "clones" an object for editing in the grid all read-only properties are lost. This includes primary keys, GUIDs etc. Not good! In CSLA there is an object Clone method on business objects that creates a stream of the object to clone it, preserving ALL properties. Perhaps Telerik can adopt a similar method.

Please prioritize a better method for grid editing that preserves all properties in the edited object.

ADMIN
Dimo
Posted on: 10 Aug 2023 07:24

Hi Michael,

I confirm this feature request is still gaining popularity and we haven't scheduled it for implementation yet.

Supporting structures like those in CSLA.NET requires effort that needs to be justified by enough customer demand. For the time being we are focused on development tasks with higher priority.

Please bind the Grid to a "regular" C# class with primitive properties. I hope this won't require too much refactoring.

Alternatively, replace the built-in Grid editing with a separate mechanism outside the Grid. In this way, you will have full control over the creation and saving of model instances during the editing process. We have a similar example for the ListView. When using a Grid, don't use command buttons with the built-in commands of "Edit" and "Add".

Regards,
Dimo
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Michael
Posted on: 03 Aug 2023 12:49
I'm also impacted by this issue. Has the fix been scheduled?
ADMIN
Svetoslav Dimitrov
Posted on: 01 May 2023 07:46

Hello Jaco,

I am sorry to read that this change affects your development plans. I believe that you are Following this item and I can confirm that this is the best possible way to get notified when a certain feature request/bug fix will be implemented. 

At this point, I am not able to commit to a specific release when this feature will be released.

Regards,
Svetoslav Dimitrov
Progress Telerik

Stay tuned by visiting our public roadmap and feedback portal pages! Or perhaps, if you are new to our Telerik family, check out our getting started resources!
Jaco
Posted on: 24 Apr 2023 11:17

At one stage this feature was scheduled to be included in the Jan 2023 release. Currently, this is just in planned status. Is there any indication when this will be done?

This is a show-stopper for me to update to the latest CSLA release.