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

RadClientDataSource RadGrid Command Item EDIT

1 Answer 59 Views
ClientDataSource
This is a migrated thread and some comments may be shown as answers.
SAIF
Top achievements
Rank 1
SAIF asked on 26 Dec 2014, 12:22 AM
 Hi All.
                   I have a question regarding using RadClientDataSource tied to asmx service and also use Command Item EDIT something like this shown in the link  <http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/commanditem/defaultcs.aspx>  but use RadClientDataSource and also have custom EDIT FORM type.Example shown on telerik website use RadClientDataSource but have only BATCH EDIT MODE. so i was wondering if you have a way to use custom edit form instead of batch edit.I am facing lot of issue implementing this. if you click on command item CommandItemTemplate edit button using RadClientDataSource the custom edit form shows up somehow but the data on grid disappears and throws lot of javascript errors  like " Unable to get property 'get_batchEditingManager' of undefined or null reference ,Error: Unable to get property '_virtualization' of undefined or null reference, Unable to get property 'get_clientDataSource' of undefined or null reference " .
please let me know, if anyone ran into similar issue. i can post code if i need to.  so long story short... i want to use CommandItemTemplate EDIT UPDATE OPTION using RadClientDataSource Is it possible ?
Thanks in advance.
Saif

1 Answer, 1 is accepted

Sort by
0
Angel Petrov
Telerik team
answered on 30 Dec 2014, 12:01 PM
Hello Saif,

I am sorry to say but the targeted scenario is not supported with the current version of the controls. For now editing the grid using a custom edit form is possible only when server-side binding is used. Moreover the Batch EditMode is also not compatible with custom edit forms.

If the requirement is to edit the grid on the client using a customized form you can try integrating the approach illustrated here. The idea is to create an external form and handle the CRUD operations manually.

Regards,
Angel Petrov
Telerik
Tags
ClientDataSource
Asked by
SAIF
Top achievements
Rank 1
Answers by
Angel Petrov
Telerik team
Share this question
or