Articles in this section
Category / Section

How to obtain the selected value in AutoComplete from code behind?

1 min read

Description

You can retrieve the selected value of the AutoComplete Textbox from Code Behind.

Solution

In order to render the value of AutoComplete from code behind, use Value attribute that holds the selected value of AutoComplete control. Here in “this.AutoComplete.Value”, AutoComplete is the id of the control. The button click event is used for retrieving the AutoComplete selected value. You can refer to the following code example.

CS 

protected void btn_Click(object Sender, Syncfusion.JavaScript.Web.ButtonEventArgs e)
        {
            this.ACtext.Text = this.AutoComplete.Value;
        }

 

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied