multiline message boxes and ENTER keys.....

  • Thread starter Antonio Lopez Arredondo
  • Start date
A

Antonio Lopez Arredondo

hi all !!!!!

I have an ASP.NET app that has a multiline textbox and a BUTTON.

the problem I have is that whenever I press ENTER in the multiline textbox,
the button event is raised and the code behind executed.

so the question is: what should I do in order to obtain the desired behavior
(provide a multiline input) ?

thanks in advance,
ant
 
L

Lerp

Hi there,

Check out the AutoPostBack property of your control. Setting it to false
should do the trick.

Cheers, Lerp
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top