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

Visible in Telerik 2012 vs Visible in telerik 2013

1 Answer 11 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Khuyến
Top achievements
Rank 1
Khuyến asked on 10 Oct 2013, 07:31 AM
<telerik:GridBoundColumn HeaderText="PromotionSKUGroup" UniqueName="PromotionSKUGroup" DataField="PromotionSKUGroup"   Visible="true"  EmptyDataText="" >
   </telerik:GridBoundColumn>
 
//code cs
 foreach (GridDataItem item in RG.Items)
                    {
                        
                        string sku = item["PromotionSKUGroup"].Text;
}
Telerik 2012 Q2: string sku = item["PromotionSKUGroup"].Text; get text ok
but 2013 do not get text mush set Visible="true" and Display="false"
why???????

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 1
answered on 10 Oct 2013, 07:48 AM
Hi Trung,

In order to hide a column and access its values in code behind we have to set Display="false".Please go through the following forum which discuss about the changes that occurred.
Breaking change

Thanks,
Princy
Tags
Grid
Asked by
Khuyến
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 1
Share this question
or