I am using the current version of the controls. RadTextBox is being styled properly except when it is TextMode="multiLine". It is not resizing to the number of rows and does not show that it is resizable. I am also using bootstrap but this doesn't seem to have an effect otherwise. Happens in all browsers.
If I switch to a <asp:textbox> there is no problem but I want to use the rad control.
<telerik:RadTextBox ID="rtbComments" runat="server" MaxLength="2000" TextMode="multiLine" Width="100%" class="form-control">
</telerik:RadTextBox>
Thanks.
If I switch to a <asp:textbox> there is no problem but I want to use the rad control.
<telerik:RadTextBox ID="rtbComments" runat="server" MaxLength="2000" TextMode="multiLine" Width="100%" class="form-control">
</telerik:RadTextBox>
Thanks.
8 Answers, 1 is accepted
0
Princy
Top achievements
Rank 2
answered on 21 Jun 2014, 06:20 AM
Hi Darren,
When you set the Width="100%", the RadTextBox will occupy the containers 100% width. Then to have the RadTextBox resizable, you have to set the property Resize="Both", by default its none.
ASPX:
Thanks,
Princy
When you set the Width="100%", the RadTextBox will occupy the containers 100% width. Then to have the RadTextBox resizable, you have to set the property Resize="Both", by default its none.
ASPX:
<
telerik:RadTextBox
ID
=
"rtbComments"
runat
=
"server"
MaxLength
=
"2000"
TextMode
=
"MultiLine"
Resize
=
"Both"
>
</
telerik:RadTextBox
>
Thanks,
Princy
0
Darren
Top achievements
Rank 1
answered on 23 Jun 2014, 05:35 PM
Hi Princy, When I used Resize="Both" it allows the user to resize the box, but it does not set the box to the correct number of rows. It still only displays 1 row even though I have changed it to display 4 rows. Thanks.
0
Princy
Top achievements
Rank 2
answered on 24 Jun 2014, 05:35 AM
Hi Darren,
The Rows property sets the number of rows displayed in a multiline text box. The default is 0, which displays a two-line text box. Please do the following modification in your code snippet.
ASPX:
Thanks,
Princy.
The Rows property sets the number of rows displayed in a multiline text box. The default is 0, which displays a two-line text box. Please do the following modification in your code snippet.
ASPX:
<
telerik:RadTextBox
ID
=
"rtbComments"
runat
=
"server"
MaxLength
=
"2000"
TextMode
=
"MultiLine"
Rows
=
"4"
Resize
=
"Both"
>
</
telerik:RadTextBox
>
Thanks,
Princy.
0
Darren
Top achievements
Rank 1
answered on 24 Jun 2014, 01:13 PM
Hi Princy, this is what I tried and it only shows 1 row instead of 4.
0
Hi Darren,
I tried to replicate the problematic behavior on my end using the latest official release of the controls but to no avail. The same approach works correctly and the MultiLine TextBox is rendering the number of rows set.
Regards,
Maria Ilieva
Telerik
I tried to replicate the problematic behavior on my end using the latest official release of the controls but to no avail. The same approach works correctly and the MultiLine TextBox is rendering the number of rows set.
Regards,
Maria Ilieva
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Darren
Top achievements
Rank 1
answered on 26 Jun 2014, 03:11 PM
If you try with MetroTouch screen you should see that the # of rows does not work. Is there a way to make that work?
Thanks.
Thanks.
0
Hi Darren,
You are correct that the MultiLine TextBox with MetroTouch skin set does not work properly in this scenario and it appears to be a bug that is already logged in our tracking system.
I increase the bug priority and our Dev team will do the best to fix this issue as soon as possible.
Excuse us for any inconvenience this bug may lead.
Regards,
Maria Ilieva
Telerik
You are correct that the MultiLine TextBox with MetroTouch skin set does not work properly in this scenario and it appears to be a bug that is already logged in our tracking system.
I increase the bug priority and our Dev team will do the best to fix this issue as soon as possible.
Excuse us for any inconvenience this bug may lead.
Regards,
Maria Ilieva
Telerik
Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.
0
Anatoliy
Top achievements
Rank 2
answered on 15 Aug 2017, 09:44 AM
Hi, Telerik team!
Was it fixed? In which version?
Regards, Anatoliy