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

ChildrenOfType gone?

2 Answers 92 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Simon
Top achievements
Rank 1
Simon asked on 29 Jun 2012, 10:10 PM
Hello,

I just upgrated to the version 2012.2.607.1050 and now the Telerik.Windows.Controls.UIElementExtensions.ChildrenOfType is no longer available.

Am I missing something or is there any workaround to get a list of every RadGridView child rows?

Best regards,

Simon

2 Answers, 1 is accepted

Sort by
0
Accepted
Dimitrina
Telerik team
answered on 02 Jul 2012, 08:18 AM
Hello Simon,

 You could still use the ChildrenOfType extension method. You should add a using statement for Telerik.Windows.Controls though.

using Telerik.Windows.Controls;

Kind regards,
Didie
the Telerik team

Explore the entire Telerik portfolio by downloading the Ultimate Collection trial package. Get it now >>

0
Simon
Top achievements
Rank 1
answered on 02 Jul 2012, 12:25 PM
Hello Didie...

You are right, the extension method is working, but the function itself wasn't so I had to change this

Telerik.Windows.Controls.UIElementExtensions.ChildrenOfType(Of Telerik.Windows.Controls.GridView.GridViewRow)(myRadGridView)


to this

myRadGridView.ChildrenOfType(Of Telerik.Windows.Controls.GridView.GridViewRow)()


And now it's working,

Thanks
Tags
GridView
Asked by
Simon
Top achievements
Rank 1
Answers by
Dimitrina
Telerik team
Simon
Top achievements
Rank 1
Share this question
or