Thursday 20 December 2012

AspxGridView ID Displaying Instead of Name/Description/Value

Well had a bit of problem with the id showing the dev express control AspxGridView. This was when binding GridViewDataComboBoxColumn, to fix this use the ensure you set the valuefieldto your id and textfield to description/name for example. Also when applying FieldName on the GridViewDataComboBoxColumn ensure it is not the same as your KeyFieldName on ASPxGridView Also it is worth noting that you should check the ordering that you are binding when using the GridViewDataComboBoxColumn as this can also cause display issues.