0

jquery Ui AutoComplete has a property that named Source. i want to value this property with static datasource for example generic list or filled dataset on my asp.net application. is it possible? would you please give me an example? thanks.

1 Answer 1

1

There's a perfectly good example on the demo page

  1. Go to http://jqueryui.com/demos/autocomplete/#options
  2. Expand the "source" example

Edit: Actually, the default example source is even better.

  1. Go to http://jqueryui.com/demos/autocomplete/
  2. Click the "View Source" link under the demo
2
  • Hi Phil . I already had seen this link. it is javascript array and it is client side. but my datasource is server side (Dataset , DataDatable , generic List ,...)
    – Shahin
    Nov 9, 2010 at 5:09
  • stackoverflow.com/questions/1890093. Take note of the comment regarding wrapping each value in quotes.
    – Phil
    Nov 9, 2010 at 5:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.