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

Telerik WPF controls in browser hosted application

10 Answers 152 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Mike McLean
Top achievements
Rank 1
Mike McLean asked on 25 Aug 2009, 04:07 PM
Hi,
    I'm currently working on a an application that uses a .NET windows form embedded in a web page in Internet Explorer, and am investigating the trial version of RadControls for WPF Q2 2009 SP1 to see if using these controls will be feasible.

When I try to include a radGridView control in the Windows form, I get the following error on loading it in Explorer:

"System.Windows.Markup.XamlParseException:  Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'Telerik.Windows.Controls.GridView;component/themes/office/silver/DistinctFilterControl.xaml'. ---> System.ApplicationException: Cannot find type 'Telerik.Windows.Controls.RadComboBox'. The assembly used when compiling might be different than that used when loading and the type is missing."

It looks as if Telerik.Windows.Controls.Input.dll assembly that contains the RadComboBox is not being downloaded even though it's part of the project.

I have a workaround for the issue, but to use the controls in a production environment I need to know:

1) is what I'm attempting to do supported behaviour?
2) if it is supported behaviour, will this issue be fixed?
3) if not, is this likely to be supported in the future?

Regards
Michael Mclean

10 Answers, 1 is accepted

Sort by
0
Stefan Dobrev
Telerik team
answered on 31 Aug 2009, 07:24 AM
Hello Mike McLean,

I have tried to replicate your scenario locally, but everything works as expect. Maybe I'm missing something your are doing in your project. It would be best if you could send us a sample project that illustrates your case, so we can further debug it and provide you with more information about the problem.

Regards,
Stefan Dobrev
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Mike McLean
Top achievements
Rank 1
answered on 01 Sep 2009, 08:18 AM
Hi,
    can you give me an email address to send the project to?

Thanks
Michael
0
Vlad
Telerik team
answered on 01 Sep 2009, 08:49 AM
Hello Mike,

You can open support ticket and attach the project.

Sincerely yours,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Martin Oostendorp
Top achievements
Rank 1
answered on 15 Oct 2009, 07:32 PM
I have the same error message on a trial version of WPF Controls
It works ok in a new Project, but not in my existing project
RadTreeView will not give the error in my existing project, RadCombobox and RadGridView will.

any ideas? 
0
Vlad
Telerik team
answered on 16 Oct 2009, 05:37 AM
Hi Martin,

Most probably such error can be raised from some weird version problem between Telerik.Windows.Controls.GridView.dll and Telerik.Windows.Controls.Input.dll. I suggest you to open support ticket and send us a project where this can be reproduced. We will review your scenario and we will get back to you more info how to fix this.

Greetings,
Vlad
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Nacho
Top achievements
Rank 1
answered on 27 Jan 2010, 04:34 PM
Hi,
I'm currently working on a WPF application that uses Telerik.Windows.Controls.Scheduler.
When I try to run the application, I get de following error:

"Cannot find type 'Telerik.Windows.Controls.RadDatePicker'. The assembly used when compiling might be different than that used when loading and the type is missing.  Error at object 'System.Windows.Controls.ControlTemplate' in markup file 'Telerik.Windows.Controls.Scheduler;component/Themes/OfficeBlack/Scheduler.xaml'."

I've used others controls (RadGauge for example) with in the project and have not problems.

I'm using Prism: Patterns For Building Composite Applications With WPF, loading modules in a shell at runtime
 
Please, I need to fix this problem.

Regards
Ignacio Tabo
Montevideo Uruguay
0
Rosi
Telerik team
answered on 01 Feb 2010, 09:48 AM
Hi Nacho,

Please check whether the assembly versions of Telerik.Windows.Controls.dll, Telerik.Windows.Controls.Input.dll and Telerik.Windows.Controls.Scheduler.dll are the same.

If this does not help, could you please try to send us a sample running project to test it locally. This will really help us investigate the problem and provide a solution.

All the best,
Rosi
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Watch a video on how to optimize your support resource searches and check out more tips on the blogs.
0
Blake Blackwell
Top achievements
Rank 1
answered on 09 Aug 2010, 10:05 PM
I am also having this issue as well.  My issue occurs with using the RadComboBox control in a WPF Browser application.  I will send you the source code, and would appreciate your reply.  Thanks!
0
George
Telerik team
answered on 13 Aug 2010, 08:11 AM
Hello Blake Blackwell,

Thank you for contacting us.

You could add the references to telerik assemblies in the second project, too. This would resolve the issue. Unfortunately, Visual Studio doesn't copy the assemblies used in one project to the other and that causes the problem.

Please do not hesitate to contact us if you require any further information.

 

Sincerely yours,
George
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
mina haleem
Top achievements
Rank 1
answered on 26 Apr 2012, 08:16 AM
Am gotting the same problem when i imported Implicit theme and Binaries from NonXAML folder, can you please let me know what is the solution.
Tags
GridView
Asked by
Mike McLean
Top achievements
Rank 1
Answers by
Stefan Dobrev
Telerik team
Mike McLean
Top achievements
Rank 1
Vlad
Telerik team
Martin Oostendorp
Top achievements
Rank 1
Nacho
Top achievements
Rank 1
Rosi
Telerik team
Blake Blackwell
Top achievements
Rank 1
George
Telerik team
mina haleem
Top achievements
Rank 1
Share this question
or