Hi,
I have numerous multiline RadTextBox controls that are not displaying a new line.
I have no problems with Firefox or Chrome.
Let me make it clear that I CAN enter new lines into these fields and they display fine at that point in time.
It's only after I save the record and subsequently open it again (in a RadWindow) that the carriage returns are not honoured.
I am retrieving the data using a web service, and updating the field using the following statement:
$find("<%=txtDesc.ClientID%>").set_value(note);
The value is obviously being stored in the database correctly since Firefox and Chrome display the content correctly.
Here's the declaration of the textbox:
In case you're wondering the onkeydown handler simply enables my Save button if the user makes any changes to this control. I tried removing it just in case it might have something to do with the problem, but the incorrect behaviour continued.
Any suggestions on how to get this to work properly.
Thanks in advance.
Jim
I have numerous multiline RadTextBox controls that are not displaying a new line.
I have no problems with Firefox or Chrome.
Let me make it clear that I CAN enter new lines into these fields and they display fine at that point in time.
It's only after I save the record and subsequently open it again (in a RadWindow) that the carriage returns are not honoured.
I am retrieving the data using a web service, and updating the field using the following statement:
$find("<%=txtDesc.ClientID%>").set_value(note);
The value is obviously being stored in the database correctly since Firefox and Chrome display the content correctly.
Here's the declaration of the textbox:
<
telerik:RadTextBox
ID
=
"txtDesc"
MaxLength='<%# (int)Session["MaxMultiLineSize"] %>'
runat="server" Width="450px" Rows="7" TextMode="MultiLine" onkeydown="KeyDownMultiLine(this,event)"
ToolTip="Provide a detailed description for this Note" Enabled='<%# (Boolean)Session["EditProcess"] %>'>
</
telerik:RadTextBox
>
In case you're wondering the onkeydown handler simply enables my Save button if the user makes any changes to this control. I tried removing it just in case it might have something to do with the problem, but the incorrect behaviour continued.
Any suggestions on how to get this to work properly.
Thanks in advance.
Jim