How to Use EditTemplate in Telerik

2 posts, 0 answers
  1. Jaya
    Jaya avatar
    81 posts
    Member since:
    Mar 2011

    Posted 11 Apr 2015 Link to this post

    Hi

     

    How to Use EditTemplate in Telerik Grid using list object for CRUD OPERATION No needSql datasource i need server side code how will do this

  2. Eyup
    Admin
    Eyup avatar
    3007 posts

    Posted 16 Apr 2015 Link to this post

    Hi Jaya,

    First of all, please note that you should not use DataBind() to bind the grid, nor set its DataSource property outside the NeedDataSource event handler. Performing complex grid operations such as Inserting, Deleting, Updating, Hierarchy relations, Grouping, Exporting, Paging, Sorting, Filtering, etc. require accommodating appropriate database operations.  Therefore, we suggest you to avoid Simple Databinding and strongly recommend the use of more advanced databinding methods, which automatically handle the aforementioned functions:
    Declarative DataSource
    Advanced Data Binding


    I think that using the NeedDataSource event handler will be the option in your case.

    You can examine the following live samples for implementing CRUD operations with server-side event handlers:
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx
    http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx

    Hope this helps.

    Regards,
    Eyup
    Telerik
     

    See What's Next in App Development. Register for TelerikNEXT.

     
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top