Display text in multi-line in web pages.
Wrap = true;
rows = 15 (change this number as per your need.)
ReadOnly = true
TextMode = multiline (you need this to have multiple lines)
BorderStyle = None
BorderWidth = 0
Also when setting the text property, you should replace all the
tags to new Line characters.
TextBox1.Text.Replace(Environment.NewLine, “
”);
Wrap = true;
rows = 15 (change this number as per your need.)
ReadOnly = true
TextMode = multiline (you need this to have multiple lines)
BorderStyle = None
BorderWidth = 0
Also when setting the text property, you should replace all the
tags to new Line characters.
TextBox1.Text.Replace(Environment.NewLine, “
”);
No comments:
Post a Comment