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
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