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: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Autocomplete Textbox

Thread ID:





66608 Jul 31,2007 03:13 PM UTC Aug 3,2007 05:48 AM UTC ASP.NET Web Forms (Classic) 3
Tags: Tools
Richard S
Asked On July 31, 2007 03:13 PM UTC

Am I correct that the Autocomplete textbox does not store a primary key and does not support the concepts of datavalue and datatext?

Valli [Syncfusion]
Replied On August 1, 2007 06:29 AM UTC

Hi Richard,

Thank you for your interest in Syncfusion Products.

The Autocomplete Textbox supports only the 'DataKeyField' which will help you to bind the specified column value to the control.

There is no support for the primary key, datavalue and datatext field in the Autocomplete Textbox.

Could you please let us know your usage scenario? So that we will analyze further on support to the above properties and file a feature request.


Richard Slauenwhite
Replied On August 2, 2007 02:11 PM UTC

Usage scenario

Pick a State, Pick a city and pick a Zip.

Three web service calls that populate three autocomplete text boxes with cascading values.

Normally i'd do this with javascript and use the primary key for the web service call rather than the 'text' field itself.

Valli [Syncfusion]
Replied On August 3, 2007 05:48 AM UTC

Hi Richard,

Thank you for your update.

There is no any separate property to define primary key in the AutoComplete Textbox.

But the functionality of the Primary key can be achieved. The below sample link helps you to do the same.


In the sample 'AutoCompleteTextBox' is populated with the values of the XML file. The sample check for the unique name for the field 'FirstName'. The List binded to the AutoCompleteTextBox is checked for the repeated values, based on the result the item gets added to the AutoCompleteTextBox.

Please let us know if this helps you.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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