I have a radgrid where i have to set the edit property of the rows to true or false, if the sorting was changed because of an update.
I'm doing this at ItemDataBound.
This worked fine for me all the time - I had never a problem with that.
Today I made an update from Q3 to the latest version of telerik.
Since this update I'm getting an error (Object reference not set to an instance of an object).
This error occurs right after ItemDataBound - so my error handling does not fire an error. The problem occurs after one of this events. The error occurs before the DataBound Event.
So I have two versions with the same code - one with the older dll and one with the newer dll - With the older one everything is fine and the newer one is making problems. So I'm afraid of upgrading versions in future - but i will have to do that!
(TypeOf (e.Item) Is GridDataItem) Then
Dim dataBoundItem As GridDataItem = Nothing
Dim bFound As Boolean = False
dataBoundItem = e.Item
If Session("sessSaveIds") <> "" Then
Dim sArrayString As String = Session("sessSaveIds")
Dim sArray() As String = sArrayString.Split(",")
Dim sID As String
For Each sID In sArray
If dataBoundItem("user_id").Text = sID Then
If bFound = True Then
End If ...
What can I do? Please help me!