Quantcast
Channel: asp.net textarea line feed and preventing postback on return key - Stack Overflow
Browsing latest articles
Browse All 3 View Live

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 Article


Answer 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 Article


asp.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
Browsing latest articles
Browse All 3 View Live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>