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

how to get MDXQUERY of OlapClient in codebehinde?

Thread ID:





115952 Mar 4,2014 03:26 PM UTC Mar 6,2014 09:40 AM UTC ASP.NET Web Forms (Classic) 4
Tags: OlapClient
Asked On March 4, 2014 03:26 PM UTC


I want to get the MDXquery of my OlapClient  in codebehind  in asp.net as a string  and then pass it to OlapGrid, but i can not.woud you please help me ?

OlapClient1.OlapDataManager.MdxQuery is emty


Replied On March 5, 2014 07:45 AM UTC


Solai A L [Syncfusion]
Replied On March 5, 2014 01:09 PM UTC

Hi Maryam,


Thanks for using Syncfusion products.


In-order to achieve your requirement, kindly use the below provided code in the code behind.


Code Snippet:

//this gets the mdx query from the  olapclient

(OlapClient1.OlapDataManager as OlapDataManager).GetMDXQuery();

Please let us know if you have any questions about this.


Thanks & Regards,



Replied On March 5, 2014 01:45 PM UTC

Thanks for your attention.so kind of you

It works perfect

Solai A L [Syncfusion]
Replied On March 6, 2014 09:40 AM UTC

Hi Maryam,

Thank you for the update. Please let us know if you require any further update.


Thanks & Regards,



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