Sep 26, 2008, 5:29 AM
Assain a "code behind" function to a key?
Hi
Is it possible to assign a certain code behind function to a key press depending on which object that has the focus.
The code demostrates what I want to do, the OnKey evens is made up but shows my intentions.
Best regards
Mikael Jürke
Is it possible to assign a certain code behind function to a key press depending on which object that has the focus.
The code demostrates what I want to do, the OnKey evens is made up but shows my intentions.
protected string CodeBehindFunction(){
}
<ext:TextField ID="TextField1" runat="server" OnKey="CodeBehindFunction()"> </ext:TextField>
Best regards
Mikael Jürke