I'm trying to implement the RadWindow solution according to the article "Use RadWindow as UserControl" (http://www.telerik.com/help/silverlight/radwindow-how-to-use-radwindow-as-user-control.html
). I literally copied and pasted the xaml and C# code from the article.
It will not compile, because the constructor call to InitializeComponent is not found. The process to recreate is pretty simple:
1. rt click, add new item, select new User Control.
2. replace the xaml from article.
3. replace the C# from the article.
Also, I cannot instantiate more than one copy of a user control that is based on a RadWindow and show it at the same time. The first instance works as expected, but when I try to create and show a second instance, I get an error after calling the Show() method on the second instance: "Value does not fall within expected range".
Microsoft Visual Studio 2010
Version 10.0.30319.1 RTMRel
Microsoft .NET Framework
Version 4.0.30319 RTMRel