I'd like to broaden this question, but the forum doesn't allow me to change the title, so I'm putting up a new posting instead here: http://www.telerik.com/community/forums/aspnet-ajax/grid/cleanest-way-to-bind-non-datatable-source-to-dropdownlist-in-code-behind.aspx
FYI, Below is my original question, which I'm still curious about, but what I really need to do is answer the broader question in the other post.
I have a couple of fields in my ViewModel that are integer representations of the Ids of a field whose name should be displayed to the user. I would like to have a GridBoundColumn to represent them in my RadGrid's view mode, but for that to work, I need there to be an intermediary class that does a conversion from the integer underlying value to the text value the user needs to see. Is there any provision for this with RadGrid, or if not, then what is the recommended practice for such a case?
Thanks!
FYI, Below is my original question, which I'm still curious about, but what I really need to do is answer the broader question in the other post.
I have a couple of fields in my ViewModel that are integer representations of the Ids of a field whose name should be displayed to the user. I would like to have a GridBoundColumn to represent them in my RadGrid's view mode, but for that to work, I need there to be an intermediary class that does a conversion from the integer underlying value to the text value the user needs to see. Is there any provision for this with RadGrid, or if not, then what is the recommended practice for such a case?
Thanks!