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. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to integrate the OlapClient WPF Control in Asp.net application

Platform: WPF |
Control: OlapClient

This can be achieved by creating a WPF Browser Application with OlapClient Control and hosting that XBAP in Asp.Net application.

Creating a WpfBrowser Application

The following are the steps to create WPF Browser Application.

  1. Create a WPF Browser Application Project in VisualStudio 2012.
  2. Add the OlapClient control in Mainpage.xaml and bind the OlapData.
  3. Open Properties window of that WPF Browser Application
  4. Click on Application Tab
  5. Ensure that Target Framework must be .NET Framework 3.5/4/4.5(to use Syncfusion Controls)
  6. Click on Security Tab
  7. Select “This is full trust application” Radio Button.
  8. Run the WPF Browser Application, WPF OlapClient will be rendered in browser.


The following is the screenshot of the Output.





Creating Asp.Net Application and Integrating the XBAP

The steps to create the Asp.Net application and integrating the XBAP into that application is as follows:

  1. Create Asp.Net web application in Visual Studio 2012.
  2. Create a folder in that Asp.Net web application and move the following files which are created in WPF Browser Application,
  • .xbap
  • .exe
  • .exe.manifest
  • .exe.config
  1. In Default.aspx page, add any object of your convenience(For Ex: iframe), set runat attribute as “server” and src attribute as “~/<foldername>/test.xbap
  2. Run the ASP.Net web Application, WPF OlapClient will be rendered in .aspx page with help of .xbap file.

The following screenshot shows how the OlapClient Control is displayed in Asp.Net application.




2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment
nicolas acosta
Apr 28, 2017
Thanks a lot!!
I have a request: how can I pass data from Asp.net to the Xbap?

Thanks in advance.

Please sign in to access our KB

This page will automatically be redirected to the sign-in page in 10 seconds.

Up arrow icon

Warning Icon 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.Close Icon

Live Chat Icon For mobile