I have a RadGridView with a GridViewMultiComboBoxColumn in it.
The GridView that pops up is working properly, and I have the columns I want to display, however, the ValueMember is set to a property that is a Guid type. The entire column is bound to a Guid value, and the comboboxes are displaying a different value. So far so good.
The problem comes when I want to filter the grid by this Guid value. I get various ParserExceptions, and they differ from Guid to Guid, based on the actual Guid. One example is the following:
"Missing operator before c0aee operand."
This is happening on a Guid whose value is 986c0aee-4987-4384-b8e6-551b2fb7a41e.
I've pasted the stack trace below, and at it's root, it appears to be trying to set an expression that looks like this:
AssetID = 986c0aee-4987-4384-b8e6-551b2fb7a41e
Obviously, the parser is viewing the Guid as an arithmetic expression. How can I fix this so that it will add the single quote properly? I've been working on this for a while, and it's driving me nuts.
I'm adding the columns within the GridView using the following solution: http://www.telerik.com/help/winforms/gridviewmulticomboboxcolumn.html
The GridView that pops up is working properly, and I have the columns I want to display, however, the ValueMember is set to a property that is a Guid type. The entire column is bound to a Guid value, and the comboboxes are displaying a different value. So far so good.
The problem comes when I want to filter the grid by this Guid value. I get various ParserExceptions, and they differ from Guid to Guid, based on the actual Guid. One example is the following:
"Missing operator before c0aee operand."
This is happening on a Guid whose value is 986c0aee-4987-4384-b8e6-551b2fb7a41e.
I've pasted the stack trace below, and at it's root, it appears to be trying to set an expression that looks like this:
AssetID = 986c0aee-4987-4384-b8e6-551b2fb7a41e
Obviously, the parser is viewing the Guid as an arithmetic expression. How can I fix this so that it will add the single quote properly? I've been working on this for a while, and it's driving me nuts.
I'm adding the columns within the GridView using the following solution: http://www.telerik.com/help/winforms/gridviewmulticomboboxcolumn.html