Hello,
I have been using this piece of code for a long time and it works fine, but after upgrading to Q1 2011 it fails because the if condition became false:
If e.Column.ColumnType = "GridBoundColumn" Then
Select Case e.Column.DataType.Name
Case "Int32"
.....
I have read in section "What is fixed" in Q1 2001 the following: "Fixed: RadGrid does not create GridNumericColumn for int data type when AutoGenerateColumns=true "
On the other hand, this is what it's said in RadGrid Column types documentation:
"Automatically-generated columns are always of type GridBoundColumn."
And this is a fragment of a forum thread message:
"Well if the column's are AutoGenerated I don't see how any of them would be one of those specific types, since they should all be GridBoundColumn."
¿Could you please tell me which column type is the correct one for an auto generated column with integer data bound?.
Thanks in advance
I have been using this piece of code for a long time and it works fine, but after upgrading to Q1 2011 it fails because the if condition became false:
If e.Column.ColumnType = "GridBoundColumn" Then
Select Case e.Column.DataType.Name
Case "Int32"
.....
I have read in section "What is fixed" in Q1 2001 the following: "Fixed: RadGrid does not create GridNumericColumn for int data type when AutoGenerateColumns=true "
On the other hand, this is what it's said in RadGrid Column types documentation:
"Automatically-generated columns are always of type GridBoundColumn."
And this is a fragment of a forum thread message:
"Well if the column's are AutoGenerated I don't see how any of them would be one of those specific types, since they should all be GridBoundColumn."
¿Could you please tell me which column type is the correct one for an auto generated column with integer data bound?.
Thanks in advance