Ive got a RadGrid that is having its datasource bound in the code behind using the NeedDatSource event. The records I get are dynamic every time as far as the columns that are coming back, which is why Im letting the grid auto generate the columns. Im using the columns later on during an update, so I need them but the issue Im facing is with the controls that are created when the rows are added. Sometimes the rows come back and the control that is created in the row is just a regular textbox, but sometimes its a RadNumeric box. This looks poor because sometimes there are values that come back that happen to only be numbers at the time, but in reality are alpha numeric, and when I go to edit them, they can throw an error that the value is too large for an int. This also looks relaly poor because when I return a value that is a number, it always displays the commas which I dont like.
My question is, in which event are the controls created and how can I force all of the controls per row cell to just be regular Textbox, not a RadNumeric or RadDecimal?
My question is, in which event are the controls created and how can I force all of the controls per row cell to just be regular Textbox, not a RadNumeric or RadDecimal?