I just updated my Telerik Reporting to 2015 Q2. I'm almost done fixing every obseletes properties and method but one issue remain and I can't find any proper solution to fix it. Here is my code:
Dim
GridColumnElements()
As
Processing.ProcessingElement = GridTable.ChildElements.Find(
"GridColumnTextBox"
,
True
)
For
i
As
Integer
= 0
To
GridColumnElements.Count - 1
Dim
ColumnRatio
As
Double
= (GrdField.Columns(i).Width / TotalColumnPixelWidth)
Dim
ColumnWidth
As
Unit = TotalGridWidth.Multiply(ColumnRatio)
Dim
pe
As
Processing.ProcessingElement = GridColumnElements(i)
Dim
tb
As
Processing.TextBox =
DirectCast
(pe, Processing.TextBox)
Now I get the classic:
"Warning 'Public ReadOnly Property ChildElements As Telerik.Reporting.Processing.ProcessingElement.ElementCollection' is obsolete: 'The Telerik.Reporting.Processing.ProcessingElement.ChildElements property is now obsolete. Use Telerik.Reporting.Processing.ElementTreeHelper.GetChildElements() method instead.'
It doesn't seems to have any method that would suite me well in this case.. any ideas ?