Robert LeGood
Top achievements
Rank 1
Robert LeGood
asked on 27 Feb 2008, 08:15 PM
Hey all,
When I put a RadTextBox into MultiLine mode, it seems to ignore the value that I've put in the MaxLength field, if I paste text into a box. (Typing one character at a time retains the MaxLength restriction
For example, in the following aspx page, if I type, I'm limited to 10 character. If I cut and paste text, it ignores that limitation
When I put a RadTextBox into MultiLine mode, it seems to ignore the value that I've put in the MaxLength field, if I paste text into a box. (Typing one character at a time retains the MaxLength restriction
For example, in the following aspx page, if I type, I'm limited to 10 character. If I cut and paste text, it ignores that limitation
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="TetxareaLength.aspx.cs" Inherits="TetxareaLength" %> |
<%@ Register Assembly="Telerik.Web.UI" Namespace="Telerik.Web.UI" TagPrefix="telerik" %> |
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
<html xmlns="http://www.w3.org/1999/xhtml" > |
<head runat="server"> |
<title>Untitled Page</title> |
</head> |
<body> |
<form id="form1" runat="server"> |
<div> |
<asp:ScriptManager ID="ScriptManager1" runat="server"> |
</asp:ScriptManager> |
</div> |
<br /> |
<br /> |
<telerik:RadTextBox ID="RadTextBox1" runat="server" Columns="120" MaxLength="10" |
Rows="5" TextMode="MultiLine"> |
</telerik:RadTextBox> |
</form> |
</body> |
</html> |
15 Answers, 1 is accepted
0
Hi Robert,
Thank you for contacting us.
It seems this is indeed a bug with our latest Prometheus version of the RadInput control in multi line mode. I have logged it in our bug-tracking system and our developers will fix it. As a token of gratitude for your feedback I have updated your Telerik points.
Best wishes,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Thank you for contacting us.
It seems this is indeed a bug with our latest Prometheus version of the RadInput control in multi line mode. I have logged it in our bug-tracking system and our developers will fix it. As a token of gratitude for your feedback I have updated your Telerik points.
Best wishes,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Eric Villemure
Top achievements
Rank 1
answered on 30 May 2008, 02:42 PM
Is that bug fixed. Also when 10 characters are entered into the textbox, you cannot select the 10 characters and type to replace the selection, you can only press backspace and then enter some data.
Thanks you
Thanks you
0
Hello Eric,
Unfortunately our developers didn't manage to fix this issue with the latest service pack. Hopefully we will see the problem resolved soon. As to your observation, it seems this is another issue that our developers will have to take care of. Please excuse us for any temporary inconvenience caused. I have updated your Telerik points.
Sincerely yours,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately our developers didn't manage to fix this issue with the latest service pack. Hopefully we will see the problem resolved soon. As to your observation, it seems this is another issue that our developers will have to take care of. Please excuse us for any temporary inconvenience caused. I have updated your Telerik points.
Sincerely yours,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Simon Parr
Top achievements
Rank 1
answered on 11 Jun 2008, 01:55 PM
Hi
Is there a timescale as to when this problem may be resolved? Is there any kind of temporary work around for now?
Thanks,
Simon
Is there a timescale as to when this problem may be resolved? Is there any kind of temporary work around for now?
Thanks,
Simon
0
Hello Simon,
Unfortunately we cannot say for sure when this problem will be fixed. It is a high priority for our developers, and hopefully we might see a resolution for the upcoming service pack of the controls which is scheduled for release next week (around the 19th of June).
Regards,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Unfortunately we cannot say for sure when this problem will be fixed. It is a high priority for our developers, and hopefully we might see a resolution for the upcoming service pack of the controls which is scheduled for release next week (around the 19th of June).
Regards,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Lyle Groome
Top achievements
Rank 2
answered on 20 Jun 2008, 04:24 PM
Can you squeeze in another fix for the Multiline RadTextBox? Not a big issue at all because the odds of it happening are slim. but...
In addition to it not respecting MaxLength when you paste, it also does not hold on to your defined Width & Rows setting if the paste in text say without spaces in it.
Lets say you have a RadtextBox with Columns="25" Rows="3"
and then you paste in the text "RadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBox"
The textbox goes bac to a single row height and is really really wide. I know that css supports breaking long words but I think that logic should be included within the control.
In addition to it not respecting MaxLength when you paste, it also does not hold on to your defined Width & Rows setting if the paste in text say without spaces in it.
Lets say you have a RadtextBox with Columns="25" Rows="3"
and then you paste in the text "RadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBoxRadtextBox"
The textbox goes bac to a single row height and is really really wide. I know that css supports breaking long words but I think that logic should be included within the control.
<telerik:radtextbox Width="195px" id="RadTextBox2" runat="server" TextMode="MultiLine" Rows="3" MaxLength="25" Label="MultiLine: " EmptyMessage="type here" Skin="Vista"></telerik:radtextbox>
0
Hi Lyle,
You are right, and the problem can be observed if you use the Label property of the TextBox. I have logged the issue in our bug-tracking system. Your Telerik points have been updated.
Best wishes,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
You are right, and the problem can be observed if you use the Label property of the TextBox. I have logged the issue in our bug-tracking system. Your Telerik points have been updated.
Best wishes,
Pavel
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
DonKitchen
Top achievements
Rank 1
answered on 31 Jul 2008, 04:06 PM
This still even seems to be a problem with the Q2 2008 release of the AJAX controls.
0
ZeccoIT
Top achievements
Rank 1
answered on 01 Aug 2008, 02:27 AM
I need a fix for cut and paste issue as well and have a custom textbox control that another developer created that we will use the meantime. Of course we would rather use the Telerik control instead of our custom control, so please post when this has been fixed. Thanks!
0
Hi guys,
Our developers have investigated the problem but it seems it is more complicated than they have thought initially. Currently we see no way to implement this fix. If any of you knows of a textbox control which supports such functionality, please let us know.
Sincerely yours,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Our developers have investigated the problem but it seems it is more complicated than they have thought initially. Currently we see no way to implement this fix. If any of you knows of a textbox control which supports such functionality, please let us know.
Sincerely yours,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
DonKitchen
Top achievements
Rank 1
answered on 05 Aug 2008, 02:15 PM
I guess one workaround is to use a regex validator with a regular expression that validates length. It would have to allow any characters (spaces included) with a character count less than or equal to your max (say 2000).
Can anybody whip up the regex for that?
Can anybody whip up the regex for that?
0
ZeccoIT
Top achievements
Rank 1
answered on 05 Aug 2008, 08:56 PM
Hi there,
We have a textbox control that handles the cut and paste issue properly. One of our developers sent me some code that we'd like to share with you that might help address this. I'll forward the code to you. Please reply and let us know if it helps.
We have a textbox control that handles the cut and paste issue properly. One of our developers sent me some code that we'd like to share with you that might help address this. I'll forward the code to you. Please reply and let us know if it helps.
0
Hello Nicholas,
Our developers will look into the code. Thank you for your willingness to cooperate. Your Telerik points have been updated.
Regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Our developers will look into the code. Thank you for your willingness to cooperate. Your Telerik points have been updated.
Regards,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
0
Henrique Duarte
Top achievements
Rank 1
Veteran
answered on 24 Aug 2008, 04:31 PM
Hi telerik,
I'm using the latest version and I still have problem setting maxlength to a multiline.
Regards,
Henrique
I'm using the latest version and I still have problem setting maxlength to a multiline.
Regards,
Henrique
0
Hi Henrique,
Could you elaborate what is the problem you are experiencing? Aside from the issues outlined in this thread the feature should be working as expected.
Best wishes,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Could you elaborate what is the problem you are experiencing? Aside from the issues outlined in this thread the feature should be working as expected.
Best wishes,
Pavel
the Telerik team
Check out Telerik Trainer, the state of the art learning tool for Telerik products.