Quantcast
Channel: ASP.NET AJAX + Ajax Control Toolkit (ACT)
Viewing all articles
Browse latest Browse all 5678

AutoCompleteExtender: Obtain value in textbox before AutoCompleteExtender selection

$
0
0

I have an AutoCompleteExtender on a textbox which queries for a field that may or may not be in a table. If it is not in the table, I have an option within the WebService to create an item which tells the user that the study ID was not found and to click here (the AutoCompleteExtender Item) to create the entry. This opens a modal which I want to have the previously entered study ID in a field in the modal, followed by the other fields for entry. I got as far as to open the modal on the item selection, yet all the assigning from one textbox to another reverts to either the text or value of the AutoCompleteExtender item created to launch the modal. How can I capture what was in the original textbox before the AutoCompleteExtender item puts its values into it?


Viewing all articles
Browse latest Browse all 5678

Trending Articles