a small workaround that you can try would be to add an extra carriage return
at the beginning of the textbox if one exists already... if you do a little
experiment, adding 2 carriage returns and some text will produce one blank
line, 3 will produce 2, 4 will produce 3, etc.
So here's my solution... In the page load do the following:
TextBox1.Text = IIf(TextBox1.Text.IndexOf(vbCrLf) = 0,vbCrLf &
TextBox1.Text,TextBox1.Text)
Hope this helps,
Garett
http://www.aimx.com
There's no place like 127.0.0.1
"Oliver" <> wrote in message
news:A9513135-6B44-4082-96BD-...
> I hope some can help me with a slight problem.
>
> I have a form with a multi-line text box. The problem I have is when the
user enters a carriage return followed by some text, the form is posted back
and the value of text box is correct. It includes the leading carriage
return.
>
> However, when the textbox is redisplayed on the client, any leading
carriage returns are lost and need to re-entered each time.
>
> Any ideas?
>
> Thanks
>
> Oliver