Deployment - TypeConverter not found

7 posts, 1 answers
  1. AdrianG
    AdrianG avatar
    17 posts
    Member since:
    Jun 2013

    Posted 28 Apr 2015 Link to this post

    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

     

     

  2. Answer
    Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 28 Apr 2015 Link to this post

    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.

     
  3. UI for WinForms is Visual Studio 2017 Ready
  4. AdrianG
    AdrianG avatar
    17 posts
    Member since:
    Jun 2013

    Posted 28 Apr 2015 in reply to Hristo Link to this post

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

    Regards

    Adrian

  5. AdrianG
    AdrianG avatar
    17 posts
    Member since:
    Jun 2013

    Posted 30 Apr 2015 in reply to Hristo Link to this post

    Hi Hristo

    Just to confirm that works.

    Many thanks

    Adrian

  6. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 30 Apr 2015 Link to this post

    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.

     
  7. Kathie
    Kathie avatar
    5 posts
    Member since:
    May 2011

    Posted 08 Jun 2015 Link to this post

    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.
  8. Hristo
    Admin
    Hristo avatar
    716 posts

    Posted 09 Jun 2015 Link to this post

    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
Back to Top
UI for WinForms is Visual Studio 2017 Ready