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

[Solved] Problem Move the mouse over the GridView highlight multiple rows

6 Answers 161 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.
yong kong
Top achievements
Rank 1
yong kong asked on 13 Oct 2010, 09:15 AM

Move the mouse over the GridView highlight multiple rows.

Occurred:
1.Click row popup a childWindow
2.Close childWindow
3.Move the mouse over the GridView highlight multiple rows.


my GridView XAML
<telerikGridView:RadGridView Name="GridView_CICustomers" Grid.Row="1" ShowGroupPanel="True" SelectionMode="Extended" IsReadOnly="True" 
VerticalAlignment="Stretch" Margin="2,5,2,0" "  />

6 Answers, 1 is accepted

Sort by
0
Pavel Pavlov
Telerik team
answered on 13 Oct 2010, 09:18 AM
Hello yong kong,

I will try to reproduce the problem here. Can you please share the exact version of the Telerik dlls you are using .

Sincerely yours,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
yong kong
Top achievements
Rank 1
answered on 13 Oct 2010, 09:24 AM
Version:2010.2.812.1040
0
Pavel Pavlov
Telerik team
answered on 14 Oct 2010, 12:45 PM
Hi yong kong,

I have talked to the team. It seems it is a known issue which appears in certain scenarios with popup windows.

The good news is that there are workarounds.
Can you please paste me the code where you open the child window on row click , and I will prepare a small sample app with the workaround for you.

Kind regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
0
Parking
Top achievements
Rank 1
answered on 15 Oct 2010, 03:24 AM
i meet the same problem, the gridview SelectionMode set to Extend.
it's seems handle Grid view  MouseLeftButtonDown event

Mouse.AddMouseDownHandler(this.GridView, new EventHandler<Telerik.Windows.Input.MouseButtonEventArgs>(MouseEventArgsHanderl), true);
 
void MouseEventArgsHanderl(object sender, Telerik.Windows.Input.MouseButtonEventArgs e)
        {
           // pop a childwindow here.          
        }

then you select/click any row,  then close the popup window, move mouse over the gridview, it is will highlight multiple rows.
0
yong kong
Top achievements
Rank 1
answered on 15 Oct 2010, 12:31 PM
1.User MVVM to bind Grid
2.PagedCollectionView object on ViewModel.
3.PagedCollectionView.CurrentChangingEventHandler popup childWindow
0
Accepted
Pavel Pavlov
Telerik team
answered on 15 Oct 2010, 03:19 PM
Hello yong kong,

Ok here is a small hack that should do the trick for you .

Before opening the popup window set
RadGridView.CanUserSelect = false;

and after hiding the window
RadGridView.CanUserSelect = bool;


Regards,
Pavel Pavlov
the Telerik team
Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Tags
GridView
Asked by
yong kong
Top achievements
Rank 1
Answers by
Pavel Pavlov
Telerik team
yong kong
Top achievements
Rank 1
Parking
Top achievements
Rank 1
Share this question
or