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

Implicit style, empty window or exception in designer

1 Answer 91 Views
Window
This is a migrated thread and some comments may be shown as answers.
Bert
Top achievements
Rank 1
Bert asked on 11 Nov 2014, 08:42 AM
Hello,

I created a user control and changed it into a RadWindow. The application is using the Windows 8 touch theme with an implicit style. The libarary version is Telerik 2014 Q3.

The Visual Studio 2013 Designer shows either an empty window or a null reference exception when I have set references to Telerik Libraries in a custom folder. The Window is shown properly when the Telerik libraries are loaded from the installation folder. 

I have used the technique as mentioned in: http://www.telerik.com/help/wpf/radwindow-how-to-use-radwindow-as-user-control.html  The exception is shown in the designer when the style is applied to the window via Style ="{DynamicResource RadWindowStyle}" instead of setting it in App.xaml. The theme xaml files are loaded from the Theme dll.

Kind regards,
Bert



1 Answer, 1 is accepted

Sort by
0
Kalin
Telerik team
answered on 11 Nov 2014, 04:24 PM
Hi Bert,

I tested the described scenario with the latest release and was not able to observe any issues - RadWindow was visible in the designer. Can you please share some sample code demonstrating the exact set up in your application, so we can recreate it on our side? Meanwhile you can try deleting the bin/obj folders of the solution and rebuilding it afterwards.

I'm looking forward to your response.

Regards,
Kalin
Telerik
 

Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

 
Tags
Window
Asked by
Bert
Top achievements
Rank 1
Answers by
Kalin
Telerik team
Share this question
or