This is a migrated thread and some comments may be shown as answers.

[Solved] After upgrading to Telerik 2003 Q1 RadGrid.MasterTableView.Items has 37 items but contains empty spaces

3 Answers 62 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Ghouse
Top achievements
Rank 1
Ghouse asked on 12 Mar 2013, 09:27 AM
Hello,
I upgraded to new Telerik version 2013.1.220.35
from 2010.3.1109.35.

In previous version the below line of code works fine, but with the new telerik version it is storing empty spaces intead of actual Items data.
GridDataItemCollection

 

 

FilteredRadGridItemCollection = this.grid.MasterTableView.Items;

Please suggest!

Thanks
Ghouse Shaik

 

3 Answers, 1 is accepted

Sort by
0
Andrey
Telerik team
answered on 15 Mar 2013, 07:15 AM
Hello,

Yes, this is a breaking change introduced in Q1 2013. This modification was done for performance optimization of RadGrid. You could check this sticky thread for more information on the matter and possible work-arounds.

Regards,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
0
Ghouse
Top achievements
Rank 1
answered on 20 Mar 2013, 03:18 PM
All these 3 solutions will not work in my scenariio as all the fields are loaded dynamically by taking "FileLeafRef" as input value of the GridItem Field value
0
Andrey
Telerik team
answered on 25 Mar 2013, 09:37 AM
Hello,

The type of loading(dynamic or static) should not affect your code. You were using item["ColumnName"].Text to access the value of a Visible="False" column. That means that you knew the column name. The only thing you should do is to set the Visible attribute to True and set the Display property to false. The "ColumnName" should not be changed.

All the best,
Andrey
the Telerik team
If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Tags
Grid
Asked by
Ghouse
Top achievements
Rank 1
Answers by
Andrey
Telerik team
Ghouse
Top achievements
Rank 1
Share this question
or