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

xaml.g.cs missing using Telerik.Windows.Controls;

1 Answer 89 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Timothy
Top achievements
Rank 1
Timothy asked on 23 Mar 2011, 06:25 PM
I was working on a Silverlight usercontrol when I decided to change from a standard user control into a RadWindow.

I used the example XAML:
http://www.telerik.com/help/silverlight/radwindow-how-to-use-radwindow-as-user-control.html

Changed the base class on my user control to RadView and added a using statement:
using Telerik.Windows.Controls;

Everything is great except when the xaml.g.cs is auto generated, because it's missing the using statement.

If I add the using statement to the xaml.g.cs it builds fine until I rebuild where it autogenerates and deletes the using statement.

Help.

I am using Silverlight 3.

1 Answer, 1 is accepted

Sort by
0
Timothy
Top achievements
Rank 1
answered on 23 Mar 2011, 06:36 PM
I changed the telerik namespace to:

xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"

and that fixed my issue
Tags
General Discussions
Asked by
Timothy
Top achievements
Rank 1
Answers by
Timothy
Top achievements
Rank 1
Share this question
or