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,
The Service Release should be available for you to download this week.
If you need any further assistance please do not hesitate to ask.
Sincerely,
Krasimir
Developer Support Engineer
Infragistics
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.
I am just checking if you require any further assistance on the matter.
Infragistics, Inc.
Hello,All that makes sense because there was a bug (the lock you mention) when you have more than two measures added from the code (not by the user’s action).The next service release is planned for 8th of July and will fix this issue. If this issue is critical for you and you need this fix urgent please contact our developer support team in order to request a private build.
We really appreciate your feedback on this issue. Best regards and thank you for your patience.PPilev.