We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

How to bind data to Pivot Grid Silverlight using WCF service

It is very easy to bind data to pivot grid using WCF service. By default the startup page is MainPage (illustrates EmptyPivotGrid Display). And to run the “SilverlightControl1” page (which illustrates the Binding data from the database to PivotGrid using WCF), you have to do the following:

In App.Xaml.CS file, Uncomment “// this.RootVisual = new SilverlightControl1 ();” and comment “this.RootVisual = new MainPage ();” as shown in below code snippet:

 

C#

private void Application_Startup(object sender, StartupEventArgs e)

{

// this.RootVisual = new MainPage();

this.RootVisual = new SilverlightControl1();

}

 

 

D:\documentation\PivotGrid and screenshot\EmptyPivotGrid1.PNG

Figure: Empty Pivot Grid

D:\documentation\PivotGrid and screenshot\PivotGrid that binds data from the database.PNG

Figure: pivot Grid which Binds data from Database

 

 

Article ID: Published Date: Last Revised Date: Platform: Control:
2949 11/26/2014 11/26/2014 Silverlight PivotGridControl
Did you find this information helpful?
Add Comment
You must log in to leave a comment

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.