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

Unable to render UI controls in grid after upgrading to lates telerik

2 Answers 42 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Nagendra
Top achievements
Rank 1
Nagendra asked on 06 Dec 2015, 01:45 AM

Hi,

 We are using radgrid and in itemdatabound we are using below code to get the text but when we are trying to read values we are getting "&nbsp". This started happening after we upgraded to latest telerik dll. we were able to read values with the old telerik dll. Is this a known issues if so what options do we have in reading the values of GridDataItem in ItemDataBound event.

   Dim lblColumnName As Label = DirectCast(item.FindControl("lblColumnName"), Label)

 lblColumnName.Text = item.Item("ColumnName").Text

2 Answers, 1 is accepted

Sort by
0
Nagendra
Top achievements
Rank 1
answered on 07 Dec 2015, 06:56 AM

Just want to add couple more points, that item above is griddataitem. Below is the code where we defined item.

 Dim item As GridDataItem = DirectCast(e.Item, GridDataItem)

 New version of telerik dll we are using is Telerik.Web.UI dll (version # 2015.2.623.40).

Old veresion of telerik dll we are using is 2012.1.411.40

0
Eyup
Telerik team
answered on 09 Dec 2015, 11:45 AM
Hello Nagendra,

The mentioned behavior is most probably related to the following change:
http://www.telerik.com/forums/breaking-change-hidden-column-cell-text-is-not-persisted-in-viewstate

Regards,
Eyup
Telerik
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
Nagendra
Top achievements
Rank 1
Answers by
Nagendra
Top achievements
Rank 1
Eyup
Telerik team
Share this question
or