I have the RadAutoCompleteBox on my page and next to it is a an ASP button.
Is there any way when a user selects a value on the drop down and creates a token all they have to do is press enter on the keyboard instead of pressing tab then enter.
I have it so far when you select an item it fires the function, entry added and displays a pop up saying what you have selected.
I just need a piece of code that highlights the button or even fires the button automatically which would be cool.
Cheers
John Moore
<
asp:Button
ID
=
"LoadReportButton"
runat
=
"server"
Text
=
"Load Report"
OnClick
=
"LoadReportButton_Click"
/>
Is there any way when a user selects a value on the drop down and creates a token all they have to do is press enter on the keyboard instead of pressing tab then enter.
I have it so far when you select an item it fires the function, entry added and displays a pop up saying what you have selected.
<script type=
"text/javascript"
>
function
entryAdded(sender, eventArgs)
{
alert(
"An item with Text='"
+ eventArgs.get_entry().get_text() +
"' has just been selected."
);
}
I just need a piece of code that highlights the button or even fires the button automatically which would be cool.
Cheers
John Moore