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

Grid, XML, Batch update

1 Answer 89 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jonathan Rajotte
Top achievements
Rank 1
Jonathan Rajotte asked on 09 Jul 2009, 03:08 PM
Hi,

Our organization is about to start a new project, and we are currently reevaluating UI Components offerings.  We have used Telerik in the past and we now need to see if it can still fullfill our needs.

The most important scenarios we are looking to cover I will describe below, and I would like Telerik to tell me if using their controls will help me in doing it.

We want to be able to bind to a grid the content of an XML files.  The grid should allow inline editing (similar as a worksheet in Excel) of multiple rows.  Upon some trigger (let's say a Save button outside the grid), the grid should send back to the server, in XML format, only the data of the rows that have changed.  An acceptable solution would be to send the entire XML back (not only the rows that have changed).

We want the same behavior to be achievable with a Tree control as well.

Thank you,
Jonathan Rajotte

1 Answer, 1 is accepted

Sort by
0
Sebastian
Telerik team
answered on 10 Jul 2009, 08:07 AM
Hello Jonathan,

How to perform editing with our web grid using XML data source you can see from the following online demo of the product:

http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/xmldatasource/defaultcs.aspx

Note that you can extend the approach further by editing several records at once with inline editing and then perform batch update as illustrated on this example:

http://demos.telerik.com/aspnet-ajax/grid/examples/programming/commanditem/defaultcs.aspx

In case the save button resides outside of the grid, you will need to traverse the edited items in it (accessing the elements in the EditItems collection of the control), pass the data from the grid editors to the underlying data source to update it and refresh the grid invoking its Rebind() method explicitly.

RadTreeView supports single node editing at a time and you can populate it from XML as presented here.

Best regards,
Sebastian
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
Tags
Grid
Asked by
Jonathan Rajotte
Top achievements
Rank 1
Answers by
Sebastian
Telerik team
Share this question
or