Skip to content

Infragistics Community Forum / Desktop / Ultimate UI for Windows Forms / UltraWinGrid Drops Space in HTML Encoded Cell Text

UltraWinGrid Drops Space in HTML Encoded Cell Text

New Discussion
Chris
Chris asked on Mar 6, 2017 10:02 AM

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.

Sign In to post a reply

Replies

  • 0
    Milko Venkov
    Milko Venkov answered on Feb 10, 2017 8:56 AM

    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.

    • 0
      Chris
      Chris answered on Feb 15, 2017 12:18 AM

      It's Infragistics4.Win.UltraWinGrid.v11.2 (File version 11.2.20112.1010) that they're running. Their region settings are standard (US English). I will find out the Windows version they're on.

      • 0
        Milko Venkov
        Milko Venkov answered on Feb 15, 2017 7:48 AM

        Hi Chris,

        Thank you for your feedback.

        I have tested this behavior against same version, 11.2.20112.1010, and was not able to reproduce this issue. I performed my test on Windows 10 x64. I will wait for you to check the Windows version your customer is using. One more questions – is this issue appears on many of your clients machines, or it is isolated to only one machine?

        Attached is the sample project I used to test this behavior for your reference.

        Looking forward to your reply.

      • 0
        Chris
        Chris answered on Feb 20, 2017 9:14 PM

        The client is using Windows 7 Enterprise. They claim it occurs on multiple machines. 

      • 0
        Milko Venkov
        Milko Venkov answered on Feb 21, 2017 7:11 AM

        Hi Chris,

        Thank you for your feedback.

        I have tested this on Windows 7 against same Infragistics version – 11.2.20112.1010. I was not able to reproduce this issue. Attached is a small video I recorded during my test.

        As I am not able to reproduce this at my side there is not much I can do about it. As I wrote you what we are doing internally is simply using the Replace method of the string to change ‘&edsp’ with a single space. I do not see anything in our code, which may lead to this issue. In addition, you said all other spaces was shown correctly. What comes to my mind is if there is any possibility this particular empty space was erased in some way? Can you log the value of the grid cell and check this?

        Looking forward to your reply.

      • 0
        Chris
        Chris answered on Mar 4, 2017 2:19 AM

        Someone on our side has reproduced it. It occurred when running our application on a VM, using Remote Desktop to access said VM. It seems to have something to do with the upper case characters before the space. Attached is an example image that shows in which cases the space is getting removed.

      • 0
        Milko Venkov
        Milko Venkov answered on Mar 6, 2017 10:02 AM

        Hi Chris,

        I have tested this behavior on a virtual machine while was logged via remote desktop and was unable to reproduce this behavior. Attached is a video I recorded during my test.

        Please note that if your application is running correctly at local machine and you are able to reproduce this only on remote desktop this clearly shows that there is an issue in the way information is transferred between remote desktop and your local machine. Depending on the type of Virtual Machine you are using as well as on the type of the remote desktop client this issue may appear or not. However, this is more or less issue in the remote desktop client and not an issue in our controls, as long as you are not able to reproduce this on local machine. As this is not among the supported scenarios I can suggest you to try different remote desktop client or ask your remote desktop provider to check why this issue appears.

        Thank you for using Infragistics Controls.

  • You must be logged in to reply to this topic.
Discussion created by
Favorites
Replies
Created On
Last Post
Discussion created by
Chris
Favorites
0
Replies
7
Created On
Mar 06, 2017
Last Post
9 years, 1 month ago

Suggested Discussions

Tags

Created by

Created on

Mar 6, 2017 10:02 AM

Last activity on

Feb 24, 2026 7:20 AM