Hi,
I am using Visual Studio 2008 with the latest Ajax Control Toolkit, in particular the AutoCompleteExtender control.
I have successfully setup the AutoCompleteExtender to use a Web Service which queries an SQL 2005 database to retreive results. The Web Service is generic across several controls where I am using the ContextKey value to determine which set of auto complete values to pull back in a list.
So far so good..
What I want to do is to then update another textbox with the corresponding value, e.g. if you select the auto complete word "Hello" in the first textbox (the one associated to the AutoCompleteExtender), when the user picks the value, the other textbox (not associated to an extender) will display the corresponding value "World!".
I have tried out various solutions but I am not sure what is the correct way of going about this, short of rewriting the control or implementing lots of beskpoke Javascript functions I am pretty much stuck.
Is there a way of getting the AutoCompleteExtender to use server side callbacks for event handling? The Web Service is obviously limited being so remote to the main site so I need a way of integrating the AutoCompleteExtender into my code behind events etc (C#).
Cheers,
T
I am using Visual Studio 2008 with the latest Ajax Control Toolkit, in particular the AutoCompleteExtender control.
I have successfully setup the AutoCompleteExtender to use a Web Service which queries an SQL 2005 database to retreive results. The Web Service is generic across several controls where I am using the ContextKey value to determine which set of auto complete values to pull back in a list.
So far so good..
What I want to do is to then update another textbox with the corresponding value, e.g. if you select the auto complete word "Hello" in the first textbox (the one associated to the AutoCompleteExtender), when the user picks the value, the other textbox (not associated to an extender) will display the corresponding value "World!".
I have tried out various solutions but I am not sure what is the correct way of going about this, short of rewriting the control or implementing lots of beskpoke Javascript functions I am pretty much stuck.
Is there a way of getting the AutoCompleteExtender to use server side callbacks for event handling? The Web Service is obviously limited being so remote to the main site so I need a way of integrating the AutoCompleteExtender into my code behind events etc (C#).
Cheers,
T