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

Deployment - TypeConverter not found

6 Answers 94 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
AdrianG
Top achievements
Rank 1
AdrianG asked on 28 Apr 2015, 11:00 AM

Hi

We build Telerik assemblies from source code using OemAssemblyName as per instructions at http://www.telerik.com/help/winforms/installation-deployment-and-distribution-redestributing-telerik-radcontrols-for-windows.html.

With 2015 Q1 SP1 (2015.1.331.40) built in Release40 configuration we are experiencing a strange issue when our application is installed on client machines. When one particular form is opened we get a series of nine pop-up 'TypeConverter' messages (please see the attached doc which shows the first four) before the form displays.

Apologies for the vague question but I was hoping you might be able to advise what might cause this issue? We haven't experienced it with previous releases where we've also built assemblies from source.

It kind of suggests that we're missing a dependency or have an incorrect reference in our build but I've double-checked and all appears to be fine there.

I'm struggling to found out why it's only the one form and if it's any particular control - otherwise I'd try to put together a test case.

As a workaround I have commented out the "Can't find TypeConverter from string for property ..." source code line in  ..\RadControl\TPF\Theming\OLD\TSSP\XmlPropertySetting.cs but I'd rather address the real cause of the problem.

If it helps, the Telerik assemblies which we deploy with our application are:

Telerik.WinControls.dll

Telerik.WinControls.GridView.dll

Telerik.WinControls.RadDock.dll

Telerik.WinControls.Scheduler.dll

Telerik.WinControls.Themes.HighContrastBlack.dll

Telerik.WinControls.UI.dll

TelerikCommon.dll

TelerikData.dll

Again, apologies for the vague question with little supportive information but any ideas you have would be greatly appreciated.

Many thanks

Adrian

 

 

6 Answers, 1 is accepted

Sort by
0
Accepted
Hristo
Telerik team
answered on 28 Apr 2015, 01:57 PM
Hello Adrian,

Thank you for writing.

This appears to be an issue within the theming mechanism of TPF. It is already logged in our feedback portal. You can track its progress, subscribe for status changes and add your vote/comment to it on the following link - feedback item. It is under development and will be made public with our next official release.

Currently the workaround is to add the following code at line 268 of the PropertyReader class:
typeDescriptorConverters.Add("HorizontalImage", new TypeConverterInfo(typeof(RadImageShape)));
typeDescriptorConverters.Add("VerticalImage", new TypeConverterInfo(typeof(RadImageShape)));

I hope this helps. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
AdrianG
Top achievements
Rank 1
answered on 28 Apr 2015, 03:40 PM

Thanks for the prompt reply Hristo. I'll give that a try.

Regards

Adrian

0
AdrianG
Top achievements
Rank 1
answered on 30 Apr 2015, 08:40 AM

Hi Hristo

Just to confirm that works.

Many thanks

Adrian

0
Hristo
Telerik team
answered on 30 Apr 2015, 01:30 PM
Hi Adrian,

I am glad that the provided solution works. Good luck with your project.

Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
 

See What's Next in App Development. Register for TelerikNEXT.

 
0
Kathie
Top achievements
Rank 1
answered on 08 Jun 2015, 01:50 PM
Is there possibly a hot fix that addresses this problem? As far as I know I don't have access to recompile the source code.
0
Hristo
Telerik team
answered on 09 Jun 2015, 06:29 AM
Hi Kathie,

Thank you for writing.

We have a an official release scheduled for the end of the month and it will address the issue in TPF. Since the release is forthcoming we do not plan to release a hot fix.

The source code of the controls can be directly downloaded from your Telerik account once the release is out. You can also check this article demonstrating different ways for building the assemblies.

I hope this information was useful. Should you have further questions please do not hesitate to write back.

Regards,
Hristo Merdjanov
Telerik
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 Feedback Portal and vote to affect the priority of the items
Tags
General Discussions
Asked by
AdrianG
Top achievements
Rank 1
Answers by
Hristo
Telerik team
AdrianG
Top achievements
Rank 1
Kathie
Top achievements
Rank 1
Share this question
or