I have an UltraWebGrid with a cell column that is tied to a value list to be displayed as a dropdownlist box for the users to choose a value. The values in the value list are actually built from domain user name lists and so all have a backslash in the text value. Now, I've found when you click on the cell to reveal the dropdownlist it seems to have issue with the backslash character and does not display it but rather leaving the character out. Any suggestions as to how to get the list to display the text value correctly?
Example to be used with an updateable ultrawebgrid with 1 column "userid" the valuelist creation. The dropdownlist will display "domainsomebody1", etc not "domain\somebody1".
Private Sub UltraWebGrid1_Load(ByVal sender As Object, ByVal e As System.EventArgs) Handles UltraWebGrid1.Load
Dim vlstUser As New Infragistics.WebUI.UltraWebGrid.ValueList
vlstUser.ValueListItems.Add(1, "domain\somebody1")vlstUser.ValueListItems.Add(2, "domain\somebody2")vlstUser.ValueListItems.Add(3, "domain\somebody3")
'Dropdown list should show the display text fieldvlstUser.DisplayStyle = Infragistics.WebUI.UltraWebGrid.ValueListDisplayStyle.DisplayText
'Asiign the value list to the web grid columnUltraWebGrid1.Columns.FromKey("userid").Type = Infragistics.WebUI.UltraWebGrid.ColumnType.DropDownListUltraWebGrid1.Columns.FromKey("userid").ValueList = vlstUser
End Sub