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

Build 2013 Q1 from source code

8 Answers 91 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Miłosz Cechnicki
Top achievements
Rank 1
Miłosz Cechnicki asked on 15 May 2013, 04:36 PM
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



8 Answers, 1 is accepted

Sort by
0
james
Top achievements
Rank 1
answered on 17 May 2013, 07:54 AM
thanks for the information. That was a great help dude.
0
Dimitrina
Telerik team
answered on 20 May 2013, 12:12 PM
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.

0
Miłosz Cechnicki
Top achievements
Rank 1
answered on 20 May 2013, 01:43 PM
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.
0
Dimitrina
Telerik team
answered on 21 May 2013, 02:53 PM
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.

0
Dimitrina
Telerik team
answered on 22 May 2013, 03:46 PM
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.

0
Miłosz Cechnicki
Top achievements
Rank 1
answered on 24 May 2013, 08:25 PM
Hello,

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

Best regards
0
Dimitrina
Telerik team
answered on 27 May 2013, 07:16 AM
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.

0
Marcin
Top achievements
Rank 1
answered on 19 Jul 2013, 11:02 AM
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
Tags
General Discussions
Asked by
Miłosz Cechnicki
Top achievements
Rank 1
Answers by
james
Top achievements
Rank 1
Dimitrina
Telerik team
Miłosz Cechnicki
Top achievements
Rank 1
Marcin
Top achievements
Rank 1
Share this question
or