ChildrenOfType gone?

3 posts, 1 answers
  1. Simon
    Simon avatar
    166 posts
    Member since:
    Sep 2010

    Posted 29 Jun 2012 Link to this post

    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. Answer
    Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 02 Jul 2012 Link to this post

    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 >>

  3. Simon
    Simon avatar
    166 posts
    Member since:
    Sep 2010

    Posted 02 Jul 2012 Link to this post

    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
Back to Top