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

Bug in highlight method of RadComboBox(will cause a word break in Arabic like languages)

0 Answers 54 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Mostafa Anoosheh
Top achievements
Rank 1
Mostafa Anoosheh asked on 14 May 2009, 06:25 AM

Hello,
Current highlight method in RadComboBox use an <em> tag and this make a word break in Arabic Like languages (Arabic, Persian, Urdu,...) my suggestion is changing highlight way from <em> to <span class="highlight"> .
If any one wants to  make a  multi language site and have same problem please tell telerik.

This is my converstion with telerik.

Kind regards,
Mostafa Anooseh

  • Posted on on May 5

    Hello Mostafa,

    As Albert has noted the highlighting code is not easy to change without breaking all existing skins. Introducing breaking changes is rather annoying for our customers and we try to reduce such cases to the minimum. This is the main reason we are reluctant to make this change in the highlighting implementation. For the time being we would propose manually patching the javascript should anyone else report this problem with Arabic languages. I hope you understand our position.

    All the best,
    Atanas Korchev,
    the Telerik dev team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  • Mostafa

    Posted on on May 5

    Hello Abert,
    I can't understood:

    1. You are unfamiliar with Arabic like languages.
    2. RadCombo has a bug.
    3. I try to explain the bug for you.
    4. and I provide a so simple solution to resolve the problem. (that I think you can do it in 1 hour)
    5. You still do not want to resolve the problem????!!!!!!!!!!

    Note: you are using an approch like my solution for this bug  in RadEditor Find section.

    Kind regards,
    Mostafa Anoosheh

     

     

     

  • Posted on on May 4

    Hello Mostafa,

    This issue is logged however I cannot promise we would be able to fix that issue for the official release. If other users report this issue we will consider raising its priority! Thank you for your understanding.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  • Mostafa

    Posted on on May 4

    Hello Albert,
    Thanks for reply.
    I already updated javascript file.
    But it's important to update your approch before next official release.

    Kind regards,
    Mostafa Anoosheh
  • Posted on on May 4

    Hello Mostafa,

    You are right we are not experts in Arabic like languages. Unfortunately fixing this bug requires rewriting of the whole highlighting logic and skins which we cannot undertake right now. The only thing we can do is provide a patch for the javascript (not officially incorporated) if this is a major showstopper for you.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  • Mostafa

    Posted on on May 1

    Dear Albert,
    Thanks for reply.
    I think you have not enough information about Arabic like languages.
    In Arabic like languages (Arabic, Persian, Urdu,...) we have two type of letters.
    Some of them are synthesis type letter like س، ل، ... and must join the next letter inside the word.
    When we use <em> tag the word will break to two and it's wrong but with span tag we will get correct view of words.
    Please check attached htm file as a simple sample.

    Kind Regards
    Mostafa Anoosheh

  • Posted on on Apr 29

    Hello Mostafa,

    I still don't see the problem. I have attached a screenshot which shows how it looks at my side. I suggest you send me a screenshot which highlights the problematic behavior.

    Regards,
    Albert
    the Telerik team

    Instantly find answers to your questions on the new Telerik Support Portal.
    Check out the tips for optimizing your support resource searches.
  • Mostafa

    Posted on on Apr 29

    Hello Albert,
    Thanks for reply.
    You can reproducethe problem:
    Please add these words to data
    المدرسة
    المدرس

    and search for
    مدرس
    or
    المدرس

    Best regards
    Mostafa Anoosheh
  • Posted on on Apr 29

    Hi Mostafa,

    We tried to reproduce this issue locally to no avail. Highlighting seemed to work as expected as is (see attached screenshot). Could you provide more details how to reproduce that problem?


    Regards,
    Albert
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  • Mostafa

    Posted on on Apr 29

    Hello Simon,
    I think actualy this is a bug in RadComboBox.
    Filter option is an important feature of RadCombo and this bug make it inusable.
    Please let me know, when you want to solve this problem?

    Best regards
    Mostafa Anoosheh

  • Mostafa

    Posted on on Apr 14

    Hello Simon,
    Thanks for reply & points.

    Best regards
    Mostafa Anoosheh
  • Posted on on Apr 14

    Hi Mostafa,

    Thank you for writing to us about the new feature.

    Changing the way the Filter currently works would require a lot of modifications to RadComboBox's current functionality. In this sense, we will only log this as a future enhancement of the control and will consider it in the future.

    Unfortunately a workaround outside of the control's code is unavailable at the moment.

    All the best,
    Simon
    the Telerik team

    Check out Telerik Trainer , the state of the art learning tool for Telerik products.
  • Mostafa

    Posted on on Apr 14

    Hello,
    When we have a RadComboBox with Filter option you use an <em> tag to show highlighted part of words; but in some languages like Arabic if we use <em> the word will be break.
    My suggestion is replace <em> tag with <span class="highlight"> tag to solve this problem.

    Another question how I can do that at this time?

    Sincerely yours,
    Mostafa Anoosheh
  • No answers yet. Maybe you can help?

    Tags
    ComboBox
    Asked by
    Mostafa Anoosheh
    Top achievements
    Rank 1
    Share this question
    or