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
225
Disappearing space character in UltraWinGrid
posted

We are using an UltraGrid with multiple columns to display some HTML encoded text. We create UltraGridRows that contain text and image (icon) data. In one particular case, one of our clients is seeing a space character disappear from the following text:

<font><b>CYANOCOBALAMIN&edsp;oral</b></font> - &edsp;give&edsp;100&edsp;MCG,&edsp;25-Jan-2017<br/><img data="..." Align =\"bottom\" />

As you can see, we're using &edsp; to encode the space characters. I have also removed the image data from the text for brevity. The spaces work fine for all other instances, but the space between "CYANOCOBALAMIN" and "oral", near the start of the HTML text, is not displayed. So, the text we see on the screen is "CYANOCOBALAMINoral". All the other spaces in the above text are displayed correctly. Could this be some region/language setting? We cannot reproduce this in our own environment. 

Parents
No Data
Reply
  • 21795
    Offline posted

    Hello Chris,

    Using the provided string, I was not able to reproduce this on Windows 10 x64. I also checked what we are doing internally. What we are doing is simply replace “edsp” with an empty string – “ “. What is more strange is you said it is not show correctly only the first occurrence of &edsp; and this is happening only on a single client machine. Is it possible to provide some additional information about this specific machine like:

    • Type of operating system;
    • Regional settings;
    • Specific version of Infragistics for Windows Forms where the issue appears;

    Please collect this data and send it back to me, so I can try to reproduce this behavior.

    Looking forward to your reply.

Children