RadTextBox multiline problem, only first line appearing.

29 posts, 0 answers
  1. Temp
    Temp avatar
    55 posts
    Member since:
    May 2007

    Posted 07 Jul 2008 Link to this post

    Hi I am using IE7, I have to asp:panels, one contains a readonly form and one contains the edit form. The edit form has RadTextBoxes with MultiLine set to true, and the data is loaded programmatically into them.

    When I load the form into edit mode, only the first line of the text box is showing. If I type a character in the text box, the rest of the lines show up.

    It seems this is because I have width="95%" in my text box. If I remove the width, or set it to a static value, all the lines show up.

    Is there a workaround for this?

    My text box is like this.

    <

    telerik:RadTextBox ID="tb1" runat="server" TextMode="MultiLine" MaxLength="1000" Rows="4" Width="50%"/>

  2. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 08 Jul 2008 Link to this post

    Hello Temp,

    Could you please give us more details about your scenario? For instance which are the controls wrapping your RadTextBox and have you set some specific styles to them?

    If you could send us your page declaration (aspx file) this would be of help to get to the source of the issue and find a resolution.

    Kind regards,
    Iana
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Temp
    Temp avatar
    55 posts
    Member since:
    May 2007

    Posted 08 Jul 2008 Link to this post

    Hi Iana, I'm sorry but due to deadlines we were forced to switch to asp:textbox for now, it does not display this behaviour.
    If I get a chance I will come back to this and get some code prepared for you.
  5. Anatoly
    Anatoly avatar
    14 posts
    Member since:
    May 2008

    Posted 05 Sep 2008 Link to this post

    Hi.
    I have the same issue with RadTextBox when MultiLine is true.
  6. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 05 Sep 2008 Link to this post

    Hi Anatoliy,

    Please try updating to the latest version of RadControls for ASP.NET AJAX and check if the problem persists.

    Let us know how it goes.

    Kind regards,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  7. Anatoly
    Anatoly avatar
    14 posts
    Member since:
    May 2008

    Posted 05 Sep 2008 Link to this post

    Hi.
    Problem exists in version 2008.2.826.35
  8. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 08 Sep 2008 Link to this post

    Hi Anatoliy,

    I followed your scenario in order to replicate the described behavior but no avail. Please find the attached sample and let me know how it works on your end and if I missed something from your logic.

    Let us know if we could help you further.

    Kind regards,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  9. Anatoly
    Anatoly avatar
    14 posts
    Member since:
    May 2008

    Posted 08 Sep 2008 Link to this post

    Hi Iana,
    Archive contains only solution files and no source code on c# or vb. Please attach source code.
  10. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 08 Sep 2008 Link to this post

    Hi Anatoliy,

    Escuse me for the mistake. Find the reattached file in this post.

    Greetings,
    Iana
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  11. Elaine Tam Sook Ling
    Elaine Tam Sook Ling avatar
    1 posts
    Member since:
    Apr 2010

    Posted 05 Apr 2010 Link to this post

    Hi,

    I'm facing the same problem with RadtextBox (multiline). Can I know is there any workaround for this ? And fyi, it only occured in Firefox browser.

    Scenario: Typing out a multi line message in a RadTextBox (with multiline = true); as you type in which consist text of multiple lines, the text box will display a scroll bar to allow you to preview the written message. However if you continue to type where you last left off, you will not be able to view the contents as you type because the text box auto-focus back the view to the top(1st line) of the text box.

    This problem is only applicable if done on the Firefox browser. (IE/Chrome has been tested and found to be working fine.)

     

    <telerik:RadTextBox runat="server" ID="txtNotes" TextMode="MultiLine" Height="80px"

     

     

    MaxLength="5000" Width="80%" >

     

     

    </telerik:RadTextBox>

     

  12. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 07 Apr 2010 Link to this post

    Hello Elaine,

    I followed the described steps however I was not able to replicate the problem. Could you please confirm that you are using the latest version of RadControls for ASP.NET AJAX?

    Kind regards,
    Iana
    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.
  13. svs priyan
    svs priyan avatar
    5 posts
    Member since:
    Jul 2009

    Posted 13 Aug 2010 Link to this post

    Hi,

    I'm facing the same problem with RadtextBox (multiline). Can I know is there any workaround for this ? And fyi, it only occured in Firefox browser.

    Scenario: Typing out a multi line message in a RadTextBox (with multiline = true); as you type in which consist text of multiple lines, the text box will display a scroll bar to allow you to preview the written message. However if you continue to type where you last left off, you will not be able to view the contents as you type because the text box auto-focus back the view to the top(1st line) of the text box.

    This problem is only applicable if done on the Firefox browser. (IE/Chrome has been tested and found to be working fine.)

    i am using  Version 2009.3.1314.35

    please help me for this problem.

  14. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 16 Aug 2010 Link to this post

    Hi,

    The issue is fixed in the latest version of RadControls for ASP.NET AJAX. Try out the attached sample and let me know if it works as desired on your end.

    Best wishes,
    Iana
    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
  15. svs priyan
    svs priyan avatar
    5 posts
    Member since:
    Jul 2009

    Posted 16 Aug 2010 Link to this post

    it's not working for me...

    i am using FF 3.6 version.

    please help me to solve this issue.
  16. Stuart Hemming
    Stuart Hemming avatar
    1622 posts
    Member since:
    Jul 2004

    Posted 16 Aug 2010 Link to this post

    Hello there.

    Are you saying that the attached sample isn't working? You are using it as supplied I trust, that is, using the trial version of Q2 2010 that was in the bin directory.

    -- 
    Stuart
  17. Abdurrahman Battal
    Abdurrahman Battal avatar
    20 posts
    Member since:
    Nov 2008

    Posted 18 Aug 2010 Link to this post

    Hi Iana,

    Actually the problem still exists. Try pasting in a long text from a web page, and paste it into the textbox in your sample project. After pasting the copied text, try typing in any random text. You see the characters you type in but as soon as the keyup event fires, textbox displays the wrong line.

    This just happens in IE8. 
    Telerik.Web.UI.dll version: 2010.2.713.35

    Thanks
  18. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 19 Aug 2010 Link to this post

    Hi Abdurrahman,

    I followed your steps in this video. Can you let me know if I am missing something out?

    Regards,
    Iana
    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
  19. Abdurrahman Battal
    Abdurrahman Battal avatar
    20 posts
    Member since:
    Nov 2008

    Posted 19 Aug 2010 Link to this post

    Hi Ilana,

    Please see this video I've recorded. All I did was to copy text from telerik.com and paste into the textbox in the project you've attached. You can see the problem in the video.

    We've tried this out on several machines faced the same issue. So it does not seem to be machine specific.

    Thanks
  20. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 24 Aug 2010 Link to this post

    Hi Abdurrahman,

    Thank you for the video. I was now able to replicate the issue locally.
    However this is an IE8 issue which is out of our scope. You can observe the same behavior by placing the below html into an aspx page:

    <textarea style="width:125px"></textarea>
    <textarea style="width:125px"></textarea>

    You can see what happens when you paste some text in the first and then paste it in the second textarea. For some reason IE8 loses the textarea state when the DOM tree is repainted. However in its current implementation the multiline RadInput renders styled textarea and that is why we are not able to find a fix for the issue in question.

    Greetings,
    Iana
    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
  21. Abdurrahman Battal
    Abdurrahman Battal avatar
    20 posts
    Member since:
    Nov 2008

    Posted 25 Aug 2010 Link to this post

    Hi Ilana,

    I was not able to reproduce the problem you've mentioned. Can you send an aspx file, and a sample video, so that I can generate it as well. Because, we already tried the same using asp:textbox control and it works just fine.
  22. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 25 Aug 2010 Link to this post

    Hi Abdurrahman,

    Here it is:
    http://screencast.com/t/OWEyOGZmY2

    Regards,
    Iana
    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
  23. Tom
    Tom avatar
    2 posts
    Member since:
    Jan 2011

    Posted 25 Jan 2011 Link to this post

    Dear telerik,

    I think you do actually have a bug in the RadTextBox under IE7.  For me under Vista, IE7 and telerik.ui.dll v 2010.2.929.35, when Multiline is set to true and a RadTextBox displays a string containing for example "firstline\r\nsecondline" only the first line is displayed in the control.  As soon as you try to edit the value, the proper text is displayed.
     If I replace the RadTextBox by an asp:TextBox there is no error; all text is displayed immediately.
  24. Iana Tsolova
    Admin
    Iana Tsolova avatar
    3388 posts

    Posted 25 Jan 2011 Link to this post

    Hello Tom,

    Could you please try updating to the latest version of RadControls for ASP.NET AJAX, labeled 2010.3.1317, and check if the issue persists? Since the version you are using many fixes are applied to the control.

    Best wishes,
    Iana
    the Telerik team
    Browse the vast support resources we have to jump start your development with RadControls for ASP.NET AJAX. See how to integrate our AJAX controls seamlessly in SharePoint 2007/2010 visiting our common SharePoint portal.
  25. Tom
    Tom avatar
    2 posts
    Member since:
    Jan 2011

    Posted 26 Jan 2011 Link to this post

    Hi Iana,

    The problem still exists even with 2010.3.1317.  Note I've only tested on our application with version 2.0 of .NET framework and telerik.Web.UI.

    When I have a moment I'll try to send you a simple example to demonstrate the problem

     

    Tom

  26. Nicolas
    Nicolas avatar
    1 posts
    Member since:
    Jul 2012

    Posted 24 Aug 2012 Link to this post

    Has there been any updates on this one? I am facing the same issue with 2012.2.607.40

    Steps
    1. Create a multiline text input box (RadTextBox)
    2. Set maxlength to 3000
    3. paste up to 3000+
    4. notice doesn't let you paste for more than 3000 characters
    5. start typing on the key board and you can type more than 3000 characters

    Please advise. Thank you!

  27. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 27 Aug 2012 Link to this post

    Hi Nicolas,

    We did lot of optimizations in the code of RadInput during the Q1 and Q2 2012 and similar bug occurred in the control. However the problem was reported and it is already fixed in the service pack with version 2012.2.724. Please upgrade and let us know if you have any problems.

    Greetings,
    Vasil
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  28. Shefali
    Shefali avatar
    6 posts
    Member since:
    Jul 2013

    Posted 17 Oct 2013 Link to this post

    Hi,

    I am also having problem with RadTextBox with multiline mode.

    Here is my scenario -

    I have a asp wizard control and many wizard steps in it. In the last step, I have added a user control that has 4-5 RadTextBox with multiline mode. Value in these boxes are filled on OnLoad event.  The problem is out of these 4-5 textboxes 1 textbox shows only first line of text. This is generally the first textbox or the last textbox. If I place the same user control at other place, it works fine. I am not sure what is causing this problem.

    I tried to create a POC for this but id did work fine there. Please suggest a solution.

    Thanks
  29. Vasil
    Admin
    Vasil avatar
    1547 posts

    Posted 21 Oct 2013 Link to this post

    Hello Shefali,

    What you describe is not known problem with the RadTextBox. I would be impossible to determinate why the problem happens, since you can not replicate it outside your project, so we can't test it here. For me the logical think is that the issue is in the vary same project that you are having problems with. You can try to debug both client side and server side. Enable/Disable the JavaScript and see if the problem is caused by some C# or JavaScript code.

    Regards,
    Vasil
    Telerik
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to the blog feed now.
  30. Abhay
    Abhay avatar
    4 posts
    Member since:
    Feb 2015

    Posted 12 Mar 2015 Link to this post

    HI,

    I have <ajaxToolkit:ModalPopupExtender........
    and radtextbox
    focus is on textbox and I hit enter key from keyboard this opens <ajaxToolkit:ModalPopupExtender

    no where such code is written to open popup on enter key hit

    please advice me on this
    thank you
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017