Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
800
extracting data without dataselector
posted

Hi,

Is there a way to get the result of an XmlaDatasource or a FlatDatasource without a pivotgrid and without a dataselector? So if I have the dimension and measure settings, can I get the data itself without the two UI components?

Thanks and best regards,

Tamas

Parents
No Data
Reply
  • 7922
    posted

    Hi Tamas

    There is a way to do that. You should call LoadSchemaAsync method and subscribe for result change event. Below is a sample:

      

    XmlaDataSource ds = LayoutRoot.Resources["DataSource"] as XmlaDataSource;

    ds.LoadSchemaAsync();

    ds.ResultChanged += new EventHandler<System.ComponentModel.AsyncCompletedEventArgs>(ds_ResultChanged);

     

     void ds_ResultChanged(object sender, System.ComponentModel.AsyncCompletedEventArgs e)

     {

     }

     

    Todor

Children
No Data