Hi
Sorry for my english.
i write application with 2 adomdDataSource. When i call LoadSchemaAsync() then application freeze.
Then i try small simple application to deteminate where is a problem.
When i call LoadSchemaAsync() application freeze long time. I try right click on TaskBar on my application and than on my window an application run again! Where is a problem?
I try load datasource without colums and rows only with filters and thats work ok.
but when i add rows and columns freeze again.
Here is the source code:
private AdomdDataSource DS;
public MainWindow()
{
InitializeComponent();
FetchData();
}
public void FetchData()
this.DS = new AdomdDataSource();
this.DS.ResultChanged += new EventHandler<AsyncCompletedEventArgs>(DS_ResultChanged);
string OLAPDAtaSourceAdress = ConfigurationManager.AppSettings.Get("OLAPDAtaSourceAdress");
this.DS.ServerUri = new Uri(OLAPDAtaSourceAdress);
string OLAPDatabaze = ConfigurationManager.AppSettings.Get("OLAPDatabaze");
this.DS.Database = AdomdDataSource.GenerateInitialDatabase(OLAPDatabaze);
this.DS.Cube = DataSourceBase.GenerateInitialCube("Hotel Denni Ceny");
this.DS.Filters = DataSourceBase.GenerateInitialItems("[Typ Rezervace].[Typ Rezervace]{[Typ Rezervace].[Typ Rezervace].&[1]}");
this.DS.Columns = DataSourceBase.GenerateInitialItems("[Time Pobytu].[Year - Quarter - Month - Date]");
this.DS.Rows = DataSourceBase.GenerateInitialItems("[Hotel Typ Pokoje Kontingent].[Hierarchy]{[Hotel Typ Pokoje Kontingent].[Hierarchy].[Druh Hotel].&[1]}");
this.DS.Measures = DataSourceBase.GenerateInitialItems("Kapacita,Prumerna obsazenost,Denni Cena Celkem Se Slevou,Prumerna cena,RefPar,Prodano Pokoj Noci");
this.DS.LoadSchemaAsync();
void DS_ResultChanged(object sender, AsyncCompletedEventArgs e)
this.xamPivotGrid1.DataSource = sender as AdomdDataSource;
Hello,
I am just checking if you require any further assistance on the matter.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics, Inc.
www.infragistics.com/support
I'm waiting for the next service release.
You wrote that the next service release is planned for 8th of July.
Today is 11.7. and still nothing?
Hello
Thanks but no.