I have a Textbox with Multiline enabled. but i can get the line brakes when i press the enter button, any idea on how to get it to work?
+1
A:
If you debug what is posted by multiline textbox you can see the value is like that :
line 1.\r\nline 2.
so if you assign multiline textbox's text property like that you can set your text with breaks :
txtMulti.Text = "line 1.\r\nline 2.";
Canavar
2009-03-04 09:07:09
thank you .. its working now..
Moran
2009-03-04 10:01:28