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 get MDXQUERY of OlapClient in codebehinde?

Thread ID:

Created:

Updated:

Platform:

Replies:

115952 Mar 4,2014 10:26 AM Mar 6,2014 04:40 AM ASP.NET Web Forms (Classic) 4
loading
Tags: OlapClient
maryam
Asked On March 4, 2014 10:26 AM

Hi

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

thanks


maryam
Replied On March 5, 2014 02:45 AM

anyone....please...?

Solai A L [Syncfusion]
Replied On March 5, 2014 08:09 AM

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,

AL.Solai.

 


maryam
Replied On March 5, 2014 08:45 AM

Thanks for your attention.so kind of you

It works perfect


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

Hi Maryam,


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

 

Thanks & Regards,

AL.Solai.


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.

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.

;