Hi,
I have a requirement to develop custom control (I'm using C#) which is a drop down list
that get its possible entries from some web service , and let the user choose a single option (with auto-complete/type ahead functionality).
I've implemented this requirement successfully with one exception: The control is calling the WS explicitly instead of receiving the data from a form data source.
How can I pass a data source from the form to my control? XML Node binding is not suitable since my control's value is nothing but single string (the chosen option) and the incoming data is repeating (a list of options).
Any idea or workaround? Can I pass a datasource to a control property? I can see that the built-in drop down list control has an option to specify a data source which will retrieve the possible entries – how can I develop such a thing?
Thanks.