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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Connect OlapClient to a cube

Thread ID:





95561 Jul 16,2010 04:21 PM UTC Jul 19,2010 07:03 AM UTC WPF 1
Tags: OlapClient
Ryan Schroeder
Asked On July 16, 2010 04:21 PM UTC

I am using OlapClient in a WPF User Control and using elementHost to display in on a Windows Form

here is the usercontrol class:

Syncfusion.Olap.Manager.OlapDataManager odm = new OlapDataManager("Data source=STLDOLAP01;Catalog=PAS");
this.olapClient1.OlapDataManager = odm;

When I attempt to connect OlapClient to a cube I get this error

OlapChart template should be applied before accessing ColorModel property

S. Sridharan [Syncfusion]
Replied On July 19, 2010 07:03 AM UTC

Hi Ryan,

Thanks for using Syncfusion products.

Here you are trying to access the DataBind() mehtod in Constructor. Based on our implementation we should access the DataBind() method only after the control gets loaded. Please try accessing the DataBind() method in your user control's loaded event.

Please let me know if you need some more details.

Sridharan S.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

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

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