Hi - the very first result on Google showed me this:
1- I right clicked the TEXTAREA and made it RUN as a Server Control....Its working fine..
2- You can also set the "multiline" property of the standard TextBox control. That control will either render an element or a element, depending on the properties you set. // TextBox1.TextMode = TextBoxMode.MultiLine
Simply create a TextBox
, set TextMode
to MultiLine
, then you can get the text using the .Text
property on your TextBox
object.
It's always worth trying to find the solution for yourself first, then try it out, make mistakes and ask questions. It's the best way to learn.