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

Processing.ProcessingElement

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
J
Top achievements
Rank 1
J asked on 27 Jul 2015, 05:33 PM

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 ?

1 Answer, 1 is accepted

Sort by
0
Nasko
Telerik team
answered on 29 Jul 2015, 08:38 AM
Hello J,

You can use the suggested ElementTreeHelper Methods.

Regards,
Nasko
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
J
Top achievements
Rank 1
Answers by
Nasko
Telerik team
Share this question
or