This is a migrated thread and some comments may be shown as answers.

server side Set Text in RadTextBox-multiline

3 Answers 143 Views
Input
This is a migrated thread and some comments may be shown as answers.
Alberto
Top achievements
Rank 1
Alberto asked on 21 Jun 2010, 10:25 AM
Im unable to set RadTextBox text server side when it's in MultiLine text mode.
If I change TextMode to single line the prob dosent happen.

Tryed to search arround the foruns but havent found this particular problem reported before... is there any solution for this?

3 Answers, 1 is accepted

Sort by
0
Accepted
Maria Ilieva
Telerik team
answered on 21 Jun 2010, 12:52 PM
Hello Alberto,

I tested the described scenario, but was not able to replicate the issue you are facing. Please find attached a sample application which works as expected on my side. Let me know what the difference in your case is.

All the best,
Maria Ilieva
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Accepted
Shinu
Top achievements
Rank 2
answered on 21 Jun 2010, 12:53 PM
Hello,

I have not experienced such an issue with RadTextBox when TextMode="MultiLine".

mark-up:
 
<telerik:RadTextBox ID="RadTextBox1" runat="server" TextMode="MultiLine"
</telerik:RadTextBox> 

code behind:
 
RadTextBox1.Text = "Enter description"

Is happening for any specific browser? Which version of RadControls are you using?


-Shinu.
0
Alberto
Top achievements
Rank 1
answered on 21 Jun 2010, 02:52 PM
Solved.
The prob wasnt with the component, I missed a js error caused by a commented tag the was leading to the problem.

    <!--<telerik:RadDatePicker ID="RadDatePicker1" runat="server"
                    </telerik:RadDatePicker>--> 
    <telerik:RadTextBox ID="RadTextBox1" TextMode="MultiLine" runat="server"
    </telerik:RadTextBox> 

Thak you.
Tags
Input
Asked by
Alberto
Top achievements
Rank 1
Answers by
Maria Ilieva
Telerik team
Shinu
Top achievements
Rank 2
Alberto
Top achievements
Rank 1
Share this question
or