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

RadGridView for WPF Mouse Event Handling and Performance Issues in Q3 2009

0 Answers 165 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.
Telerik Admin
Top achievements
Rank 1
Telerik Admin asked on 16 Nov 2009, 10:02 AM
We had several report from customers saying that mouse click events could not be handled. This happens because we now handle MouseLeftButtonUp and MouseLeftButtonDown events internally.

For those of you who are using our Mouse class we have added overloads to the original AddMouseButtonDownHandler and AddMouseButtonUpHandler methods that will allow you to handle already handled events as well. The new overloads are available in our 2009.3.1109 (or later) latest internal build.

In case you are using the AddHandler method it already has an overload which allows handling of already handled events.
We are currently evaluating several ideas to improve the current situation and we hope that we will be able to introduce those improvements as soon as possible.

Some other reports pointed out reduced performance of the RadGridView control. These problems occur when the grid is placed in a control that measures its children with infinity.  Such controls are ScrollViewer,  StackPanel (when vertical it measures with infinite height and when horizontal - with infinite width), and Grid panel with RowDefinition Height="Auto" or ColumnDefinition Width="Auto". When RadGridView (or any other grid) is measured with infinity virtualization is turned off which results in reduced performance. Modify your code so that RadGridView is placed in a container that will not measure it with infinity and the performance will be back to normal.
Tags
GridView
Asked by
Telerik Admin
Top achievements
Rank 1
Share this question
or