Hi,
We are trying to verify the contents of a RadGridView, but are not getting the correct number of rows or cells. The code we are using is as follows :
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
Telerik.WebAii.Controls.Xaml.RadGridView rgv = app.Find.ByType<Telerik.WebAii.Controls.Xaml.RadGridView>();
Log.WriteLine(rgv.Rows.Count.ToString());
Log.WriteLine(rgv.Rows[0].Cells.Count().ToString());
Now we could have 500 rows and 5 columns, but the Log just shows the row count to be 2 and cell count to be 1. Any ideas as to why it is not bringing back the full RadGridView ??
As a heads up the RadGridView is being populated by Dynamc Data (as seen in this demo ... http://demos.telerik.com/silverlight/#GridView/DataSources )
Cheers ... Rob.
We are trying to verify the contents of a RadGridView, but are not getting the correct number of rows or cells. The code we are using is as follows :
SilverlightApp app = ActiveBrowser.SilverlightApps()[0];
Telerik.WebAii.Controls.Xaml.RadGridView rgv = app.Find.ByType<Telerik.WebAii.Controls.Xaml.RadGridView>();
Log.WriteLine(rgv.Rows.Count.ToString());
Log.WriteLine(rgv.Rows[0].Cells.Count().ToString());
Now we could have 500 rows and 5 columns, but the Log just shows the row count to be 2 and cell count to be 1. Any ideas as to why it is not bringing back the full RadGridView ??
As a heads up the RadGridView is being populated by Dynamc Data (as seen in this demo ... http://demos.telerik.com/silverlight/#GridView/DataSources )
Cheers ... Rob.