This is a migrated thread and some comments may be shown as answers.

Gridview Column Index Error

1 Answer 57 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Menaka Jayasingha
Top achievements
Rank 1
Menaka Jayasingha asked on 24 Oct 2011, 06:35 AM
I upgrade my telerik version from 2010 Q1 to 2011 Q1

After that there is a error

Error 241 Property or indexer 'Telerik.WinControls.UI.GridViewColumn.Index' cannot be assigned to -- it is read only

Sooo I want to know how I can fix this Issue...... 

Pls let me know if there is a another way to set column index

1 Answer, 1 is accepted

Sort by
0
Accepted
Emanuel Varga
Top achievements
Rank 1
answered on 26 Oct 2011, 07:07 AM
Hello,

Since somewhere at the end of last year, you should use 
radGridView1.Columns.Move(oldIndex, newIndex);

Hope this helps, if you have any other questions or comments, please let me know,

Best Regards,
Emanuel Varga

Telerik WinForms MVP
Tags
GridView
Asked by
Menaka Jayasingha
Top achievements
Rank 1
Answers by
Emanuel Varga
Top achievements
Rank 1
Share this question
or