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

How to Use EditTemplate in Telerik

1 Answer 31 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jaya
Top achievements
Rank 1
Jaya asked on 11 Apr 2015, 10:41 AM

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

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 16 Apr 2015, 05:56 AM
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.

 
Tags
Grid
Asked by
Jaya
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or