RadClientDataSource RadGrid Command Item EDIT

2 posts, 0 answers
  1. SAIF
    SAIF avatar
    3 posts
    Member since:
    Dec 2014

    Posted 25 Dec 2014 Link to this post

     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.

  2. Angel Petrov
    Angel Petrov avatar
    1039 posts

    Posted 30 Dec 2014 Link to this post

    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.

    Angel Petrov
Back to Top