Microsoft
Software
Hardware
Network
Question : Silverlight Question on raising event by keyboard's Enter Key
Hello,
I have a question. My scenario is like below:
I have a textbox and a button control in my silverlight application. User can enter some words in the textbox and can click the button, and the button event gets raised. My question is:
Do you think it is possible in Silverlight to have the following capacity---
> user would be able to press Enter in the keyboard as well. User will enter input, and
1) he will be able to press enter, or, if he wants,
2) he would be able to click the submit button.
Is it possible to raise an event from key board's keys: in this case the Enter key.
If it is, would you please tell me how to accomplish this, or would you please tell me what is the tutorial link on this matter in MSDN, or if you know about any website that talks about this matter, let me know.
Thank you.
Answer : Silverlight Question on raising event by keyboard's Enter Key
Use
1: 2: 3:
if ("S".equals(lat_direction )) { latVal *= -1; }
Random Solutions
How Can I Turn Off the Record Selector Bar on an Inserted SubForm?
External Hard drives
Delphi 6 not recompiling .pas files
datagrid question
installing a UCC certificate with local domains for Exchange 2010 - how does the certificate authority approve them?
Help setting up simple Isolated Wifi VLAN
How to create store procedures and pass values in SQL
Memory Advanced ECC Mode with Mixed DIMM Capacities on Dell R710 PowerEdge
Force Outlook 2003 to use encryption connection to Exchange
Getting own send e-mail in Blackberry