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.

autocomplete

Thread ID:

Created:

Updated:

Platform:

Replies:

12372 Mar 27,2004 06:34 PM Mar 31,2004 05:57 AM Windows Forms 1
loading
Tags: Tools
Doug Finke
Asked On March 27, 2004 06:34 PM

I am using a textbox for XPath Expressions. When I type in //MarketState/MarketKey[Instrument1] I get the following stacktrace. See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.Data.ConstraintException: Column ''Column0'' is constrained to be unique. Value ''//MarketState/MarketKey[Instrument2]'' is already present. at System.Data.DataTable.InsertRow(DataRow row, Int32 proposedID, Int32 pos) at System.Data.DataRowCollection.Add(DataRow row) at Syncfusion.Windows.Forms.Tools.AutoComplete.AddHistoryItem(String newItemText, Int32 imageIndexValue) at Syncfusion.Windows.Forms.Tools.AutoComplete.AddHistoryItem(String newItem) at Syncfusion.Windows.Forms.Tools.AutoComplete.AddItemOnValidate(Control editControl) at Syncfusion.Windows.Forms.Tools.AutoComplete.HandleControlValidated(Object sender, EventArgs e) at System.EventHandler.Invoke(Object sender, EventArgs e) at System.Windows.Forms.Control.OnValidated(EventArgs e) at System.Windows.Forms.Control.NotifyValidated() at System.Windows.Forms.ContainerControl.ValidateThroughAncestor(Control ancestorControl) ************** Loaded Assemblies ************** mscorlib Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/microsoft.net/framework/v1.0.3705/mscorlib.dll ---------------------------------------- XPathEval_CS Assembly Version: 1.0.1547.38414 Win32 Version: 1.0.1547.38414 CodeBase: file:///C:/MS%20Press%20Books/XMLProgNET/Chap06/XPathEvaluator/C%23/XPathEval_CS/bin/Debug/XPathEval_CS.exe ---------------------------------------- System.Windows.Forms Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.windows.forms/1.0.3300.0__b77a5c561934e089/system.windows.forms.dll ---------------------------------------- System Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system/1.0.3300.0__b77a5c561934e089/system.dll ---------------------------------------- System.Drawing Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.drawing/1.0.3300.0__b03f5f7f11d50a3a/system.drawing.dll ---------------------------------------- Syncfusion.Tools Assembly Version: 2.0.3.0 Win32 Version: 2.0.3.0 CodeBase: file:///c:/windows/assembly/gac/syncfusion.tools/2.0.3.0__3d67ed1f87d44c89/syncfusion.tools.dll ---------------------------------------- Syncfusion.Shared Assembly Version: 2.0.3.0 Win32 Version: 2.0.3.0 CodeBase: file:///c:/windows/assembly/gac/syncfusion.shared/2.0.3.0__3d67ed1f87d44c89/syncfusion.shared.dll ---------------------------------------- System.Data Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.data/1.0.3300.0__b77a5c561934e089/system.data.dll ---------------------------------------- System.Xml Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.xml/1.0.3300.0__b77a5c561934e089/system.xml.dll ---------------------------------------- System.Runtime.Serialization.Formatters.Soap Assembly Version: 1.0.3300.0 Win32 Version: 1.0.3705.288 CodeBase: file:///c:/windows/assembly/gac/system.runtime.serialization.formatters.soap/1.0.3300.0__b03f5f7f11d50a3a/system.runtime.serialization.formatters.soap.dll ---------------------------------------- ************** JIT Debugging ************** To enable just in time (JIT) debugging, the config file for this application or machine (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the machine rather than being handled by this dialog.

Administrator [Syncfusion]
Replied On March 31, 2004 05:57 AM

Hi Doug, Thanks for bringing this to our attention. I have tested for this issue and seen that the AutoComplete does cause a crash in the above scenario. The development team has been notified in this regard, and we will try our best to fix it at the earliest. We appreciate your feedback, and thanks for choosing Syncfusion products. 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.

;