Hi, I'm using Telerik web controls version 2012.1.215.35. I have a RadTextBox with the TextMode property set to "MultiLine"
A button then calls some JavaScript code that retrieves the value of the RadTextBox using get_textBoxValue() and sends it over to a different page as a QueryString. I noticed however that it converts any line feeds like this:
12345
67892
01234
to this:
12345<br>67892<br>01234
which causes an issue since the receiving page is expecting a line feed (Chr(10) + Chr(13)) and not HTML tags to separate the values. How can I prevent this? Thank you.
<
telerik:RadTextBox
runat
=
"server"
InputType
=
"Text"
ID
=
"rtbSearch"
Width
=
"500px"
TextMode
=
"MultiLine"
Rows
=
"5"
EmptyMessage
=
"Please enter numbers, maximum of 5, one per line."
></
telerik:RadTextBox
>
A button then calls some JavaScript code that retrieves the value of the RadTextBox using get_textBoxValue() and sends it over to a different page as a QueryString. I noticed however that it converts any line feeds like this:
12345
67892
01234
to this:
12345<br>67892<br>01234
which causes an issue since the receiving page is expecting a line feed (Chr(10) + Chr(13)) and not HTML tags to separate the values. How can I prevent this? Thank you.