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

WCF service binding problem

2 Answers 89 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Nikolay
Top achievements
Rank 1
Nikolay asked on 17 Nov 2009, 01:06 PM
Hello!

I am new in Silverlight and in RadControls for Silverlight.
I was started from "Get started" topic of RadGridView and all work fine for me.
Now I want bind my gridview from WCF service. I read topic "Loading Data from WCF service", but in result, my grid still unbinded. In debuger I see that WCF service work propertly, Customers collection filled, but DataLoading and DataLoaded events of RadGridView doesn't fired.

Can you provide sode snippets of WCF service and RadGridView for SilverLight binded from this service?
Thank you!

P.S. Sorry for my English.

2 Answers, 1 is accepted

Sort by
0
Nikolay
Top achievements
Rank 1
answered on 17 Nov 2009, 02:41 PM
Vlad,

Thank you for quick response.
With code in this demo all work fine.
But next question is why code in documentation is so different from code in demos? With code in "Populating with data" section of documentation I was unable to bind RadGridView from Web, WCF and ADO.NET services. Works only code from online demo, but it very diffefent from code in documentation.
I am using Silverlight 3 and RadControls for Silverlight Q3 trial.

Thank you very much!
0
Vlad
Telerik team
answered on 20 Nov 2009, 07:22 AM
Hi Nikolay,

Something went wrong with this thread and my previous post was deleted - sorry for this!

We will improve our examples in the grid documentation to match our online examples.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
Tags
GridView
Asked by
Nikolay
Top achievements
Rank 1
Answers by
Nikolay
Top achievements
Rank 1
Vlad
Telerik team
Share this question
or