Build 2013 Q1 from source code

9 posts, 0 answers
  1. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 15 May 2013 Link to this post

    Hi,

    I'm trying to build 2013 Q1 (0403) controls from source code, but I get more than 100 errors of type:
      HeaderedItemsControl\MetadataRegistration.cs(6,53): error CS0234: The type or
     namespace name 'Controls' does not exist in the namespace 'Silverlight::System
    .Windows' (are you missing an assembly reference?) [C:\tmp\RadControls_for_Silv
    erlight_Source_2013_1_0403\Core\Controls\Design\Controls.Design\Controls.Visual
    Studio.Design.4.0-SL.csproj] [C:\tmp\RadControls_for_Silverlight_Source_2013_1_
    0403\Build\BuildControls.proj]


    The reason, we are building controls, is Yours ParentOfTypeExtension method: 
    private static DependencyObject GetParent(this DependencyObject element)


    The problem, I reported some time ago, has been refused to fix.
    The problem is in a call to method:
    VisualTreeHelper.GetParent(element) with passing DependencyObject as parameter.

    As stated here:
    http://msdn.microsoft.com/en-us/library/system.windows.media.visualtreehelper.getparent(v=vs.95).aspx

    InvalidOperationException

    reference is null, or is not a valid UIElement.


    so it's recommended to make a check of passed object type before calling VisualTreeHelper.GetParent method.


    The problem occurs in some specific situations, when for example Hyperlink button has focus, and some focus changes between e.g. RadComboBox and RadGridView occurs.

    Please consider fixing this bug, or provide some instruction for building those controls.
    Doing as the instructions says and running Build_SL5_Xamless.bat finishes up with errors mentioned at begging.

    Best regards



  2. james
    james avatar
    1 posts
    Member since:
    May 2013

    Posted 17 May 2013 Link to this post

    thanks for the information. That was a great help dude.
  3. DevCraft banner
  4. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 20 May 2013 Link to this post

    Hello,

    Would it be possible for you to send us an example demonstrating the case you have? We could change our code to check if this method is invoked for UIElement, but we will need some demo to reproduce the issue first.

    All the best,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  5. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 20 May 2013 Link to this post

    Further description and sample application can be found under support ticket with id: 546210

    There is sample application and description, how to start it in order to get the exception.
  6. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 21 May 2013 Link to this post

    Hi,

    We are currently investigating the case further. I will update you when we have more info on the matter. 

    Greetings,
    Didie
    the Telerik team

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  7. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 22 May 2013 Link to this post

    Hello,

    I am glad to inform you that we managed to resolve the issue. The fix will be part of our next latest internal build. 

    Regards,
    Didie
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  8. Miłosz Cechnicki
    Miłosz Cechnicki avatar
    34 posts
    Member since:
    Sep 2009

    Posted 24 May 2013 Link to this post

    Hello,

    Thank You very much for applying this fix. This will allow us to make process of upgrading Your controls much easier.

    Best regards
  9. Dimitrina
    Admin
    Dimitrina avatar
    3769 posts

    Posted 27 May 2013 Link to this post

    Hello,

    Let us know if you encounter any problem after applying the fix. You can also upgrade to the upcoming Q2 2013 once it is out. 

    Regards,
    Didie
    Telerik

    Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

  10. Marcin
    Marcin avatar
    31 posts
    Member since:
    Jul 2013

    Posted 19 Jul 2013 Link to this post

    Finally, taking advantage of vacations, we can move our applications to new version of Your controls. As soon as we do it, I write You if everything works as expected with this fix.

    Thank You for Your help!
    Best regards,

    Marcin Danek
Back to Top
DevCraft banner