↧
Answer by Lambda for asp.net textarea line feed and preventing postback on...
Found a solution: Keep: body onkeydown="return (event.keyCode!=13)" this will disable any post back using Return Key, Then add to any multi line textbox the following attribute:...
View ArticleAnswer by Bibhu for asp.net textarea line feed and preventing postback on...
You can use this window.onload = function() { setEvent("text", onKeyDown); } function onKeyDown() { return (event.keyCode!=13) } Which will cancel return button in only textboxes
View Articleasp.net textarea line feed and preventing postback on return key
I have an ASP.net web application with numerous pages. Most of them have Multiline APS.net textbox and standard text box. Pressing the return key has unexpected result depending on browsers, page,...
View Article