views:

109

answers:

0

Hi, I just followed the above article. http://www.telerik.com/help/wpf/common-styling-and-appearance-creating-custom-theme.html to create custom theme

Here you can see the my screen shot of the error and the way I have created my theme and the structure

image

mytheme code

public class MyTheme : Theme
{
  public MyTheme()
  {
     this.Source = new Uri("/MyAssembly;component/Themes/Generic.xaml", UriKind.Relative);

     // this.Source = new Uri("/MyAssembly;component/Themes/Telerik.Windows.Controls.GridView.xaml", UriKind.Relative);
  }
}

I am getting this error.

Unspecified error (Exception from HRESULT: 0x80004005 (E_FAIL)) in silverlight.

just going mad not able to figure out the issue. Please let me know where I am going wrong any help would be greatly appreciated

thanks

prince