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.

Shahin
  • 12,543
  • 39
  • 127
  • 205

1 Answers1

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
Phil
  • 157,677
  • 23
  • 242
  • 245
  • 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 09 '10 at 05:09
  • http://stackoverflow.com/questions/1890093. Take note of the comment regarding wrapping each value in quotes. – Phil Nov 09 '10 at 05:19