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.
Unfortunately, activation email could not send to your email. Please try again.

Wrong version?

Thread ID:

Created:

Updated:

Platform:

Replies:

28346 Apr 29,2005 10:30 AM May 12,2005 08:40 PM Windows Forms 5
loading
Tags: EditControl
Markus Ulbricht
Asked On April 29, 2005 10:30 AM

Hi! I just downloaded the EssentialStudio (I am just interested in EssentialEdit) and installed it. After adding the EditControl from the VisualStudio "Syncfusion Windows Forms" Toolbox I want to define some properties e.g. the SettingFile. But I cant found it!! (after entering e.g. editControl1.configfile= ... I get the message from compiler: "configfile is not a member of Syncfusion.Windows.Forms.Edit.EditControl".) Other Members are working (like Configurator). I am using assembly version 3.201.1.0 of the C:\Program Files\Syncfusion\Essential Studio\Assemblies\1.1\Syncfusion.Edit.Windows.dll. Some ideas??? Thanks + regards, Markus

Administrator [Syncfusion]
Replied On April 29, 2005 11:46 AM

Hi Markus, Please note that v3.2.1.0 has two EditControls. 1. The Essential Edit Legacy (previously called Essential Edit in v2.0 releases) is an older EditControl which will soon be phased out. No new features or bug fixes will be added to this product. To access this you would have to reference Syncfusion.Edit.Windows.Legacy assembly. 2. The v3.0 Essential Edit is a newer EditControl which has a much improved architecture and extensibility. To access this you would have to reference Syncfusion.Edit.Windows assembly. The v3.2 Edit Release Notes does mention about this : "Please note that version 3.0 Essential Edit and Essential Edit Legacy are two entirely different products. Hence products developed in earlier versions of Essential Edit (called Essential Edit Legacy now), will not be automatically compatible with version 3.0 Essential Edit. However, you could continue using Essential Edit Legacy libraries for the same. Also, we recommend you to use version 3.0 Essential Edit for any new applications that you may wish to develop." Assuming that you wish to use the newer EditControl, this is how you could load an external configuration file into the EditControl : this.editControl1.Configurator.Open(configFile); For more information on this, please refer the Essential Edit user guide available at this link below : www.syncfusion.com/library Refer to the Essential Edit >> Features >> Syntax Highlighting and Code Editing section for more information in this regard. Please let us know if you need any other information. We appreciate your interest in Syncfusion products. Regards, Guru Patwal Syncfusion, Inc.

Dave Taylor
Replied On May 12, 2005 12:17 PM

Guru, Why is it that when I try to add an Edit control it automatically references BOTH the legacy and the current version...and thus gives me an "Ambiguous name" detected? Since I''ve never developed with the previous version and dont want to, is there a way to eliminate it entirely? Thanks Dave Taylor

Administrator [Syncfusion]
Replied On May 12, 2005 12:29 PM

Hi Dave, I have tested for this issue here and do not see this problem in v3.2.1.0. 1. A good workaround here would be to delete the existing EditControls (both new and old) on the VS.NET toolbox and re-add the new one (Syncfusion.Edit.Windows and not Syncfusion.Edit.Legacy.Windows)only. This way only the new EditControl gets added to the form when you perform a drag-drop operation. 2. Remove any reference to the Syncfusion.Edit.Legacy.Windows.dll assembly in the project''s References in VS.NET Solution Explorer window. 3. If you are using v3.0.1.0, please upgrade to v3.2.1.0 from your Direct-Trac account. Please try these steps and let me know if you need further assistance. Thanks for your cooperation. Regards, Guru Patwal Syncfusion, Inc.

Dave Taylor
Replied On May 12, 2005 04:11 PM

Guru, Thanks, removing and reloading it into the VS toolbox worked (as did deleting the reference to the legacy version from the project). One other question here...I''m very confused as to how to load one of the known configurations (specifically VB.NET) without loading a specific file - all of the samples open a file with a known file type/extension. What if I just want a blank edit control formatted for VB.NET?

Administrator [Syncfusion]
Replied On May 12, 2005 08:40 PM

Hi Dave, Please use the following code to pre-load any desired configuration : // this code loads the VB.NET config settings into the EditControl this.editControl1.ResetColoring(this.editControl1.Configurator.GetLanguage("vb")); Now any text typed into the EditControl or set through the Text property is treated as VB.NET text and syntax highlighting is done accordingly. Please refer to the test sample attached that illustrated this and let me know if this helps. Regards, Guru Patwal Syncfusion, Inc.

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.

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.

;