Netferrets Online Blog, Internet Related Programming Solutions, Created in C# .net, VB .net, MS SQL Server Javascript, HTML and CSS. Proving sample solutions to problems found when creating web application solutions.
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.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment