A
Amelyan
If I have spaces in my Text property of Label, and I add it to TableCell, it
wraps at spaces. E.g.
Label lb = new Label();
lb.Text = "Hello, World!"
TableCell cell = new TableCell();
cell.Controls.Add(lb);
The resulting TableCell html render will look like this
_______
| Hello, |
| World! |
|_______|
However if I don't have spaces in my lb.Text, "Hello,World!", the resulting
TableCell html render will look like
___________
| Hello,World! |
|___________|
with "World!" written on new line. How can I disable this line wrapping for
Text which contains spaces?
Thank you,
-Amelyan
wraps at spaces. E.g.
Label lb = new Label();
lb.Text = "Hello, World!"
TableCell cell = new TableCell();
cell.Controls.Add(lb);
The resulting TableCell html render will look like this
_______
| Hello, |
| World! |
|_______|
However if I don't have spaces in my lb.Text, "Hello,World!", the resulting
TableCell html render will look like
___________
| Hello,World! |
|___________|
with "World!" written on new line. How can I disable this line wrapping for
Text which contains spaces?
Thank you,
-Amelyan