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

InPlace editing, Cascaded data binding with sharepoint list

1 Answer 49 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Jai
Top achievements
Rank 1
Jai asked on 02 Nov 2012, 10:07 AM
Hi,

I am using radgrid asp.net control for inplace editing and to bind cascaded data from sharepoint list.

 When user clicks on any cell the cell should goes to editable mode. In editable mode there will be any
control like check box, drop down list, radio buttons, etc. and the control should get populated with sharepoint list data.
Once the value is specified next column cell should goes in editable mode and the data for that control will come from sharepoint list,
but the data will be depend on the selection of previous column cell.
 
Whatever the demo examples you have provided that uses the
SQLDataSource and AJAX.
But I want CRUD operation should happen with inplace editing.
And the data source should be Sharepoint list.

Please suggest me to interacting with radgridview with sharepoint list.

Thanks.

1 Answer, 1 is accepted

Sort by
0
Tsvetoslav
Telerik team
answered on 07 Nov 2012, 10:22 AM
Hello Jai,

Concerning the UI requirements of yours, I'd recommend that you go through the following online example:
http://demos.telerik.com/aspnet-ajax/grid/examples/dataediting/clienteditbatchupdates/defaultcs.aspx

It provides enough guidelines on how to approach your own scenario.

As for the data-binding of the control, you can use the NeedDataSource event of the grid and assign its DataSource property to the SP list data flattened to a DataTable. An alternative approach is to use the SPRadGrid class that goes with the Telerik.Ajax.SharePoint.dll. That one is found in our package with telerik ajax controls for SP 2010. SPRadGrid supports binding to SP lists/SP views directly.

Now, with regards to the CRUD operations, there is nothing special with those - just attach event handlers to the proper events and update the sharepoint lists. The proper event if you use the example above is actually
the ajax manager's onajaxrequest one.

Hope it helps.


Regards, Tsvetoslav
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Jai
Top achievements
Rank 1
Answers by
Tsvetoslav
Telerik team
Share this question
or