We have the requirement that for a textbox with autocomplete functionality that submits when an asp button is clicked or the user presses enter while the textbox has focus (the use may have entered or selected from the dropdown).
We also need the AllowCustomEntry functionality that RadAutoCompleteBox supplies.
I cannot seem to find a solution in the Telerik tools:
- RadAutoCompleteBox does not submit on enter. Via JQuery I was able to detect enter and run the click event for my button which submitted to the server ok but the text field for the RadAutoCompleteBox was blank. When I added a focus event (for the button) before the click event my solution did work in Chrome but not in IE.
- RadSearchBox. This control does submit on enter but it does not behave like a true text box. That is it does not display the value entered after the selection is made and does not seem to support an ASP button to kick off the search (this is part of the look and feel of our application). It also submits as soon as you select from the drop down which could be confusing for our users.
RADAutoCompleteBox is the closest solution but the fact that it does not post back to the server when enter is pressed is a show stopper for us. Apart from running the JQuery focus event prior to the button click event do you know of any other action I might take.
What I really would like is an autocomplete box that supported a 2 step process: the user selects the entry from the dropdrown which is displayed in the text box and then the user can either press enter or click on the search button to post the text back to the server.
I hope that this is not too much feedback and my questions are clear. Cheers
We also need the AllowCustomEntry functionality that RadAutoCompleteBox supplies.
I cannot seem to find a solution in the Telerik tools:
- RadAutoCompleteBox does not submit on enter. Via JQuery I was able to detect enter and run the click event for my button which submitted to the server ok but the text field for the RadAutoCompleteBox was blank. When I added a focus event (for the button) before the click event my solution did work in Chrome but not in IE.
- RadSearchBox. This control does submit on enter but it does not behave like a true text box. That is it does not display the value entered after the selection is made and does not seem to support an ASP button to kick off the search (this is part of the look and feel of our application). It also submits as soon as you select from the drop down which could be confusing for our users.
RADAutoCompleteBox is the closest solution but the fact that it does not post back to the server when enter is pressed is a show stopper for us. Apart from running the JQuery focus event prior to the button click event do you know of any other action I might take.
What I really would like is an autocomplete box that supported a 2 step process: the user selects the entry from the dropdrown which is displayed in the text box and then the user can either press enter or click on the search button to post the text back to the server.
I hope that this is not too much feedback and my questions are clear. Cheers