ToolTip="Click to perform search"></asp:ImageButton>
What I want to do is when the user enters custom text into the rad combo above, then hits ENTER, for the ibSelect ImageButton to act as though it was clicked. This works with a textbox but I can't get it to work with the combo. I don't want to use AutoPostBack.
1 Answer, 1 is accepted
answered on 22 Jan 2009, 09:41 AM
You need to subscribe to OnClientKeyPressing event, check if the pressed key is the Enter (keyCode = 13) then find the image object and call its click() method.
function OnClientKeyPressingHandler(sender, eventArgs)
if (eventArgs.get_domEvent().keyCode == 13)
var image = $get("<%= ibSelect.ClientID %>");
I hope this helps.
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.