The output from this is including a bunch of " " characters for spaces and they aren't translating very well when I go to store the information in a database, they are being turned into "ᙦ" in the database. Do I need to use a special encoding or something that I'm missing?
I fixed this by checking to see if the string contained either " " or "ᙦ" ad replacing it with and empty string if it did. The built in "contains" and "replace" methods on the string object worked perfectly for this. Although i would like to be able to avoid it all together but thats why the term work around exists...
What version of Infragistic controls are you using because I tried to do the same fix and it did not work?
Did you do something like this:
if (str.Contains("ᙦ")) { str.Replace("ᙦ", string.Empty); }
This seems pretty absurd that this should even be required. I'm using version 11.1...I did not have this issue with version 9.2.
I'm also using version 11.1. I haven't used the older versions but I've read that a lot has changed in the core framework of the infragistic controls so i'm not all that suprised that it is a new issue.
I'm using vb.net so my code was a bit different but it looke something like:
.Title = .Title.Replace(" ", " ")
.Title = .Title.Replace("ᙦ", " ")
End If
Basically the same thing as what you posted except I'm putting the spaces back into the string instead of using "string.empty"(which would remove the spaces).
Nevermind...code is wrong...I corrected it. Still dont like that this was introduced after version 9.2. I'd like to see a solid answer why from Infragistics.