Performing updates/inserts containing HTML for a Batch Editing grid

1 posts, 0 answers
  1. Angel
    Angel avatar
    1 posts
    Member since:
    Oct 2012

    Posted 07 May 2015 Link to this post


    Telerik Product and Version

    Q1 2015 and later

    Supported Browsers and Platforms

    All supported browsers

    Components/Widgets used (JS frameworks, etc.)


    The Code Library illustrates how one can use HTML to edit a certain field data in a batch editing grid. The main idea in such an implementation is to subscribe to the four batch editing events(OnBatchEditGetCellValue, OnBatchEditSetEditorValue, OnBatchEditGetEditorValue and
    OnBatchEditSetCellValue) and manually get/set the cell and editor values. Such manipulation later allows you to transfer the HTML safely to the server and insert it into the database.

    The sample contains two pages which illustrate two different implementations. In the first a GridTemplateColumn with a RadEditor placed inside the EditItemTemplate is used whereas the second page applies a similar approach but for the built-in GridHTMLEditorColumn.
Back to Top