Sir,
i am creating C# application in which i used 1 text box. i want
tag of html when i press enter in text box. how can i appear this
tag in this text box. and what is the code of creating keyboard shortcut in C# application, where i write this code.
Loading
Sam HobbsPosted Apr 2, 2012, 1:39 PM
SenthilkumarPosted Apr 2, 2012, 9:57 AM
In the textbox, you can't go to the new line. But you can do this in the text area where you have the multiple lines.
The <\n> is the newline in the text area.
Gohil JayendrasinhPosted Apr 2, 2012, 8:17 AM
Using jquery.hotkeys you can do this
http://code.google.com/p/js-hotkeys/downloads/detail?name=jquery.hotkeys-0.7.9.min.js&can=2&q=
Demo code
http://sites.google.com/site/jshotkeys/test-static-01.html?attredirects=0
If it's helpful to you then please check as Accepted Answers