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

save gridview data to sharepoint list

6 Answers 167 Views
Chart
This is a migrated thread and some comments may be shown as answers.
Johnny
Top achievements
Rank 1
Johnny asked on 16 Mar 2012, 10:31 PM
Hi,

I would like to save the data from a gridview to a sharepoint list. I have watched the video demo from http://sharepoint.telerik.com/silverlight/Pages/default.aspx and it has 80% of what I want to accomplish in my project. Instead, I have already created a sharepoint list in my website, where each sharepoint list column has its own value or string. What I would like to do is that after user save the data in the grid, there is a link showing in one of the column in the sharepoint list. And then for someone who manage the data, he/she can clicks to the link and a popup window can show the saved grid data. I wonder if this is possible to accomplish currently? Thank you so much.

6 Answers, 1 is accepted

Sort by
0
Johnny
Top achievements
Rank 1
answered on 20 Mar 2012, 03:14 AM
Hi, Can anyone help me to solve this issue? Thanks
0
Maya
Telerik team
answered on 20 Mar 2012, 08:43 AM
Hi Johnny,

Will it be possible to provide a bit more details about your exact requirements ? Do you refer this video as the one being helpful for you ?  Do you want to display RadGridView in a web part that is displayed once you click on a particular link in your SharePoint list ? Do you display the same data in the list and the grid ? 

Regards,
Maya
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Johnny
Top achievements
Rank 1
answered on 21 Mar 2012, 03:53 AM
hi,

Thank you for your reply. I would like to display the RadGridView in a web part that is displayed once I clock on a particular link in my Sharepoint List. Is it feasible to do it in the current Telerik tool? Thanks
0
Maya
Telerik team
answered on 21 Mar 2012, 09:50 AM
Hello Johnny,

Generally, placing RadGridView in a web part should not be any different than placing a regular Silverlight data-bound control in it. Could you clarify what are the exact troubles that you have ? Can you achieve the required behavior with ListBox for example ? Do you have any problems with the grid or implementing a SharePoint web part as a whole ?  

Greetings,
Maya
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
0
Johnny
Top achievements
Rank 1
answered on 22 Mar 2012, 02:05 AM
Hi,

I was told, by my design team, that I should not save the RadGrid as a web part. I should just extract the data from the grid and save them, colum by colum,  into the sharepoint list.  I have already created few column in the sharepoint list that the header name of the columns in the sharepoint list are same as those in my RadGrid. What I want is that I would extrat the data (parse them as string) from the RadGrid and put them into the sharepoint list. Do I need to bind the column sharepoint list to the xaml code in the RadGrid? How can I extract the data out from the RadGrid? How should I get it working? Sorry for the early confusion. Thanks
0
Maya
Telerik team
answered on 26 Mar 2012, 08:03 AM
Hi Johnny,

In this case my recommendation would be to rely entirely on the data level. You can get all the items through Items collection of the grid and work with them directly.  

All the best,
Maya
the Telerik team
Sharpen your .NET Ninja skills! Attend Q1 webinar week and get a chance to win a license! Book your seat now >>
Tags
Chart
Asked by
Johnny
Top achievements
Rank 1
Answers by
Johnny
Top achievements
Rank 1
Maya
Telerik team
Share this question
or