Telerik Silverlight Grid with BCS Lists in SharePoint 2010

Posted on 3/2/2010 @ 11:27 AM in #SharePoint by | Feedback | 424 views

Okay my next video is online. In this video, I demonstrate the usage of the Telerik Silverlight grid working with a Business Connectivity Services (BCS) list over the Client Object Model. I use the Telerik grid to create a view on a BCS list, and demonstrate the rich value that a nice Silverlight grid can bring into SharePoint 2010.

The entire presentation is mostly all code. It’s about 1/2 hr in length.

Watch the video

Sound off but keep it civil:

Older comments..


On 6/6/2010 2:58:38 PM Gunjan Datta said ..
Great video. I bought your book after watching a few of your videos. I really like the details of them, and I hope the book is the same.

I have a question w/ this video, I can display the list items in the Silverlight grid, but when I expand a group item, I get the following error:

Microsoft JScript runtime error: Unhandled Error in Silverlight Application The given key was not present in the dictionary.

I've tried debugging, but a "eval code [dynamic]" tab shows this error. Any ideas?

Thanks,

Gunjan


On 6/6/2010 8:09:31 PM Sahil Malik said ..
Gunjan Bhaiya ki JAI!


I think the book is the same :), but you have to tell me. If you like it, please leave a review on Amazon.com .. y'know helps me, helps others!

Hmm about the error, attach to iExplore.exe, see what actual SL error you're getting. But the concepts are still good, prolly a bug in my code is all. :-/

S


On 6/7/2010 4:53:23 PM Gunjan Datta said ..
Thanks for the quick response, it was a type-o with the column binding name. Sorry about that. I'll def. submit a review after the book arrives and going through it.

I have yet another question in the mean time. I've tried to update the list item by adding the "RowEditEnded" event to the rad grid. I've modified the "Contact" class to return the list item, added set methods to update the internal _item ListItem and added an ItemChanged flag. Below is the code I'm using to update the list item. Is this correct? The code executes, but the database is not updated. I've used SharePoint designer to create the external content type. Is there another method I need to call in order to update list items for external lists?

private void RadGridView1_RowEditEnded(object sender, Telerik.Windows.Controls.GridViewRowEditEndedEventArgs e)


{


Contact updatedItem = e.NewData as Contact;


if(updatedItem != null && updatedItem.ItemChanged)


{


this.Dispatcher.BeginInvoke(() =>


{


updatedItem.ListItem.Update();


});


}


}

Thanks again for the help.


On 8/17/2010 3:07:44 AM jds said ..
HI. I'm watch your video SharePoint 2010 Silverlight Control with BCS Lists. I'm using Telerik Grid. How do Telerik grid is editable?


On 5/11/2011 8:50:08 PM Susan Anspaugh-Yount said ..
I'm connection to a SharePoint list, which has a rich text column.

How do I properly display the rich text so it does not display HTML as tags?

Thank you!