Skip to main content
Home Forums Silverlight Programming Report a Silverlight Bug TextBox Doesn't handle LF
1 replies. Latest Post by mchlSync on April 15, 2008.
(0)
sorskoot
Member
241 points
42 Posts
04-15-2008 3:46 AM |
Hi,
I'm use a barcode scanner to search data in a database. I use a textbox to collect this data. Every scan sends 13 digits, a CR and a LF to the textbox. The LF doens't get handled by the textbox and send as a CRTL-J (also ASCII 10) to internet explorer, which shows the rss feeds. All i'm getting in the key-down eventhandler is a CTRL. I've tried setting the handled property to true, but even than the keydown event gets send to IE.
Timmy
mchlsync
Star
14606 points
2,730 Posts
04-15-2008 5:31 AM |
Ctl + [key] or Alt+[key] doesn't work well in Silverlight. You may need to handle manually. You may want to take a look the souce code of this post. It may not be exactly what you want but you can learn how to handle key event from that example.