Change hard spaces to spaces in the RO Lookup Dictionary, so that the ROs can be found without typing a hard space.

When creating a list of matching ROs, change hard spaces to spaces so that the display is not confusing.
This commit is contained in:
Rich 2015-04-10 11:24:29 +00:00
parent 8c222f99b4
commit 3754f2f00d

View File

@ -78,7 +78,7 @@ namespace VEPROMS.CSLA.Library
}
public override string ToString()
{
return _MyChild.title;
return _MyChild.title.Replace("\\u160?"," ");
}
};
#endregion
@ -1075,7 +1075,7 @@ namespace VEPROMS.CSLA.Library
{
if (child.value != null)
{
string value = child.value.ToUpper();
string value = child.value.ToUpper().Replace("\\U160?"," ");
if (_ValueLookupDictionary.ContainsKey(value))
_ValueLookupDictionary[value].Add(new roChild(child));
else