Radcombo text wrap layout problem

2 posts, 0 answers
  1. Michele
    Michele avatar
    4 posts
    Member since:
    Jul 2010

    Posted 22 Feb 2011 Link to this post


    with radcombo we have a layout problem.
    When selecting a text that wrap to newline, radcombo show only last part of selected text and not first part.
    I attach a screenshot to show what appen.

    Thanks a lot.
  2. Kalina
    Kalina avatar
    918 posts

    Posted 28 Feb 2011 Link to this post

    Hello Michele,

    I am afraid that the behaviour that you describe is default for Internet Explorer.
    However you can try to overcome the issue handling the OnClientSelectedIndexChanged RadComboBox event and using the textRange object within the handler function:

    <script type="text/javascript">
        function OnClientSelectedIndexChanged(sender, eventArgs) {
            if ($telerik.isIE) {
                var textRange = sender.get_inputDomElement().createTextRange();
                textRange.moveEnd('sentence', -100000);
                textRange.moveStart("character", 0);
                textRange.moveEnd("character", 0);

    All the best,
    the Telerik team
    Registration for Q1 2011 What’s New Webinar Week is now open. Mark your calendar for the week starting March 21st and book your seat for a walk through all the exciting stuff we ship with the new release!
Back to Top