I am trying to make my Ajax AutoCompleteExtender look like this - http://jquery-sew.s3-website-us-east-1.amazonaws.com/
. The suggestion list would show the code and its name in brackets. eg: C01 (Sweden).
This code works fine.
public string GetCodes(string prefixText)
.Select(c=> c.CountryCode + "(" + c.CountryName + ")").ToArray();
1. When an Item is selected from the list say 'C01 (Sweden)', I would like to show only C01 in the textbox.
2. Is it possible to reduce the font size of the text in brackets (Just as shown in the link).