I have tried the Convenience #1 Item #3 from the
http://marss.co.ua/UnexpectedPostback.aspx but the page still gets submitted
when I press the enter key and the focus is in the text box. Regardless how
many Textboxes or Input fields I have on the webpage, pressing Enter key
submits the page.
The only time I can get it to work is if I use UseSubmitBehavior="False",
but then FCKEditor control does not post it's value, so I can not use that.
Any other suggestions I can try?
"marss" <ma******@gmail.comwrote in message
news:e8**********************************@2g2000hs n.googlegroups.com...
On 4 âÅÒ, 07:33, "Peter" <pczu...@nospam.nospamwrote:
I have the following code and when the textbox displays and I press
Enter
while in the text box I get AutoPostBack, how do I stop AutoPostBack?
Hi Peter,
This behaviour is not caused by value of AutoPostBack property of a
TextBox, it is default browser's reaction to pressing Enter key.
I posted some thoughts on this topic here:
http://marss.co.ua/UnexpectedPostback.aspx
Maybe you'll find it useful.
Regards,
Mykola
http://marss.co.ua