Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
120
Some characters in value list items text may cause auto suggesting to fail.
posted

Hi,

Suppose we have a grid with GUID type column in it. For that column we set the AutoCompleteMode to Suggest and then we set AutoSuggestFilterMode to Contains.

Then we bind a value list to that column.  Value list items contain characters '<' and/or '>' in their text, and their values correspond to the values listed in the column.

So, if we enter cell edit mode and start typing any character, contained in value list items text with '<' or '>' , the application throws an error caused by deserialization issues - looks like it threats '<' or '>' as tag markup.

For example, imagine a value list with three items:

(SOMEGUID1,  'abcd') , (SOMEGUID2, '<fgh') and (SOMEGUID3, 'jkl>')

If you start typing characters a .. d everything will work fine.

Typing f .. h or j .. l or <> will cause an exception.

 

Setting AutoSuggestFilterMode to StartsWith eliminates that bug.

I attached a small sample application which displays that behavior.

GridValueListAutoSuggestError.zip
Parents
No Data
Reply
  • 4219
    posted

    Hi Alexander,

    I have logged this in our system. You can check the progress of the issue and submit any further questions on the following support ticket : CAS-46223-8692XZ

    Regards,

    Stefaniya

Children
No Data