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

[Solved] Column reorder event

4 Answers 180 Views
GridView
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
BlogReader
Top achievements
Rank 1
BlogReader asked on 29 Apr 2009, 11:36 PM
Is there any event that is raised when the user reorders columns from the UI?

4 Answers, 1 is accepted

Sort by
0
Accepted
Pavel Pavlov
Telerik team
answered on 30 Apr 2009, 03:58 PM
Hello BlogReader,

Please use the CollectionChanged event of the RadGridView.Columns collection
e.g

this

.RadGridView1.Columns.CollectionChanged += new System.Collections.Specialized.NotifyCollectionChangedEventHandler(Columns_CollectionChanged);


Sincerely yours,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
BlogReader
Top achievements
Rank 1
answered on 30 Apr 2009, 05:54 PM
Is there any way I can set the name of the event handler in Xaml?
0
Pavel Pavlov
Telerik team
answered on 04 May 2009, 02:03 PM
Hello BlogReader,

Unfortunately there is no way to subscribe to the CollectionChanged event in XAML .

Please let me know if  the previously suggested approach does not fit your scenario. In such case I may need to know more about the behavior you are trying to achieve in order to provide a workaround.

Kind regards,
Pavel Pavlov
the Telerik team

Instantly find answers to your questions on the new Telerik Support Portal.
Check out the tips for optimizing your support resource searches.
0
BlogReader
Top achievements
Rank 1
answered on 04 May 2009, 05:40 PM
No. I can use the backend to subscribe to the event. I was asking merely for informational purposes. I have marked the appropriate post as the answer.
Tags
GridView
Asked by
BlogReader
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
BlogReader
Top achievements
Rank 1
Share this question
or