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

Grid Update without using hashtable

1 Answer 23 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Simon Channell
Top achievements
Rank 1
Simon Channell asked on 04 May 2017, 09:17 AM
Is it possible to do a Grid Update with a UserControlform without using a Hashtable?

1 Answer, 1 is accepted

Sort by
0
Eyup
Telerik team
answered on 08 May 2017, 09:01 AM
Hello Simon,

The live sample demonstrate here uses the Hashtable just to update the Entity source:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/edit-form-types/defaultcs.aspx

You can use the extracted values using the FindControl method(as shown in the sample above) to make your own query depending on your database type:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/rows/accessing-cells-and-rows#accessing-controls-in-editinsert-mode

This can be done using the UpdateCommand or ItemCommand event handlers provided by the grid:
http://demos.telerik.com/aspnet-ajax/grid/examples/data-editing/manual-crud-operations/defaultcs.aspx

Here is an example for SQL:
http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/data-editing/database-level-editing

I hope this will prove helpful.

Regards,
Eyup
Telerik by Progress
Try our brand new, jQuery-free Angular 2 components built from ground-up which deliver the business app essential building blocks - a grid component, data visualization (charts) and form elements.
Tags
Grid
Asked by
Simon Channell
Top achievements
Rank 1
Answers by
Eyup
Telerik team
Share this question
or