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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Connect OlapClient to a cube

Thread ID:

Created:

Updated:

Platform:

Replies:

95561 Jul 16,2010 04:21 PM UTC Jul 19,2010 07:03 AM UTC WPF 1
loading
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:

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

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.

Thanks,
Sridharan S.

CONFIRMATION

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.

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

;