We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Some Contols Revert Back to Default Style

Thread ID:

Created:

Updated:

Platform:

Replies:

40363 Feb 1,2006 02:54 PM UTC Feb 3,2006 05:34 PM UTC General Discussion 4
loading
Tags: General Discussion
John Slater
Asked On February 1, 2006 02:54 PM UTC

I''m having strange issues with a few projects where Syncfusion ComboBoxAdv and DateTimePicker Styles revert back to the Default Style when opening a form in VS2003 designer. A message is displayed in the Task List for each Syncfusion Control: Object type cannot be converted to target type. Not sure how to diagnose this issue. Also, for some projects I have received the following message in the Task List: Code generation for property ''WeekInterior'' failed. Error was: ''value'' Code generation for property ''DaysHeaderInterior'' failed. Error was: ''value'' Presently using version: 4.1, but had the same issue with 3.3. Thanks

Doc11.zip

Administrator [Syncfusion]
Replied On February 1, 2006 08:04 PM UTC

>A message is displayed in the Task List for each Syncfusion Control: Object type cannot be converted to target type. I had exactly the same issue with gridGroupingControl after setting the references to local copy = true (with trial version 4.1) I also lost the styles that i previous set with the designer. After turning back local copy = false all works fine again. I have no solution for that and i need local copy = true for fast evaluation of my gui-prototype on several machines without too much installing. greets, Klaus

John Slater
Replied On February 1, 2006 10:17 PM UTC

Klaus, Thanks for your help, setting Local Copy to False does appear to fix this issue. I wish I knew why though. Cheers ... > > >>A message is displayed in the Task List for each Syncfusion Control: Object type cannot be converted to target type. > >I had exactly the same issue with gridGroupingControl after setting the references to local copy = true (with trial version 4.1) > >I also lost the styles that i previous set with the designer. > >After turning back local copy = false all works fine again. > >I have no solution for that and i need local copy = true for fast evaluation of my gui-prototype on several machines without too much installing. > >greets, Klaus > >

Administrator [Syncfusion]
Replied On February 3, 2006 01:35 PM UTC

There is a KB article where i can read the following: > Also when copied locally, you should also explicitly link to the Syncfusion.Tools.Design.dll and Syncfusion.Shared.Design.dll assemblies found in the ..\Essential Suite\Assemblies folder. My problem is that i can not find these dll''s within the installation of the tial version of Essential Studio\4.1.0.9 Is the KB article still correct? http://www.syncfusion.com/support/kb/studio/Default.aspx?ToDo=view&questId=3 thx, Klaus

Administrator [Syncfusion]
Replied On February 3, 2006 05:34 PM UTC

Hi Klaus, this article is not up to date. But what you would need to do to make it work with Copy Local = true is to make sure the assemblies are not in the gac and that the "References Path" in your project settings point to the folder with the dlls. The problem is otherwise the designer loads the same dll twice in different AppDomains and then you get InvalidCastException when types are convereted from the dll in one AppDomain to the dll in the other AppDomain. Sometimes VS also caches the dlls in Local Settings. Logging off and on will help with that. But easiest would be actually to set "Copy Local = false" while using the designer and then set "Copy Local = true" when compiling for distribution. Stefan >There is a KB article where i can read the following: >> Also when copied locally, you should also explicitly link to the Syncfusion.Tools.Design.dll and Syncfusion.Shared.Design.dll assemblies found in the ..\Essential Suite\Assemblies folder. > >My problem is that i can not find these dll''s within the installation of the tial version of Essential Studio\4.1.0.9 > >Is the KB article still correct? > >http://www.syncfusion.com/support/kb/studio/Default.aspx?ToDo=view&questId=3 > >thx, Klaus

CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;