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

To Disable Column Drag and Drop

1 Answer 127 Views
GridView
This is a migrated thread and some comments may be shown as answers.
Vishal
Top achievements
Rank 1
Vishal asked on 30 Jan 2009, 11:25 AM

Hi,
We are using WinForms Q1 2008 SP1 RadGridView.
The problem we are facing is that even though we have disabled drag drop of the columns in the grid, if the user tries to drag any column header outside the form or within the grid other column and wait for few seconds (>= 5 Sec) , following runtime error is coming
object reference not set  to instance of an object.

What we are trying to do is disable column drag and drop of grid columns, I have already tried MasterGridViewTemplate.AllowDragToGroup = False , column chooser , column reorder everything false.

Note : we are having timer tick event set for 5 seconds which refreshes the grid every after 5 sec.
if we remove timer event , above problem gets resolved.

Even we dont want effect of drag and drop.

We need solution for this with timer enabled ASAP.
 
Please help.

Regards
Vishal

1 Answer, 1 is accepted

Sort by
0
Deyan
Telerik team
answered on 02 Feb 2009, 03:25 PM
Hello Vishal,

Thank you for your post and for the details provided.

I have been able to reproduce this issue with the Q1 2008 SP1 version of RadControls for WinForms. Since we have fixed this issue I recommend you to download and install the latest version of our product.

I hope this will help you.

Do not hesitate to write back if you have further questions or need assistance.

All the best,
Deyan
the Telerik team

Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Tags
GridView
Asked by
Vishal
Top achievements
Rank 1
Answers by
Deyan
Telerik team
Share this question
or