S
Steve
How do I insert a newline char in the message field of a
validator control in the VS.NET design mode. There is no
problem doing it in the code-behind by using \n. But in
the VS design mode, I use a series of \n it only takes the
first \n. For example:
AAAAAAAAA\nBBBBBB\n\nCCCCCCCCC\nDDDDDDDDD
The javascript prompt will result as
AAAAAAAAA
BBBBBB\n\nCCCCCCCCC\nDDDDDDDDD
not
AAAAAAAAA
BBBBBB
CCCCCCCCC
DDDDDDDDD
validator control in the VS.NET design mode. There is no
problem doing it in the code-behind by using \n. But in
the VS design mode, I use a series of \n it only takes the
first \n. For example:
AAAAAAAAA\nBBBBBB\n\nCCCCCCCCC\nDDDDDDDDD
The javascript prompt will result as
AAAAAAAAA
BBBBBB\n\nCCCCCCCCC\nDDDDDDDDD
not
AAAAAAAAA
BBBBBB
CCCCCCCCC
DDDDDDDDD