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

SelectAll() does not work in ChildWindow

7 Answers 98 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.
Jon
Top achievements
Rank 1
Jon asked on 11 Feb 2010, 10:47 PM
Hi.. again...
I have ChildWindow with a GridView.... but when I call SelectAll() nothing happens....
I can manually / click and select multiple items....
any ideas?
Thanks again

7 Answers, 1 is accepted

Sort by
0
Milan
Telerik team
answered on 12 Feb 2010, 05:26 AM
Hello Jon The Nerd,

We were unable to reproduce the issue. Could you please send us your application or provide some XAML/C# code that could help us reproduce the strange behavior.

Thank you in advance.


Best wishes,
Milan
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
Jon
Top achievements
Rank 1
answered on 13 Feb 2010, 12:19 AM
How can I attach a sample app?

Here are the issues...

1. SelectAll() does not work after Page Init...
2. The SelectAll() DOES work on button click
3.The MultiSelect does not work

I have a sample app.. just need to know how I can upload it...
thanks
0
Vlad
Telerik team
answered on 15 Feb 2010, 07:02 AM
Hello Jon The Nerd,

You can open support ticket and attach the project.

Sincerely yours,
Vlad
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
Max
Top achievements
Rank 1
answered on 29 Apr 2010, 07:05 PM
Has this issue been resolved?  I'm experiencing the same problem.

I have a GridView:

<telerikGridView:RadGridView x:Name="radGridViewColumns" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Width="200" Height="200" 
    ShowGroupPanel="False" IsReadOnly="False" RowIndicatorVisibility="Collapsed" SelectionMode="Extended" 
    SelectionChanged="radGridViewColumns_SelectionChanged" > 
                         
    <telerikGridView:RadGridView.Columns> 
     
        <telerikGridView:GridViewSelectColumn x:Name="colHideShow" PropertyChanged="colHideShow_PropertyChanged"
     
        </telerikGridView:GridViewSelectColumn> 
                     
    </telerikGridView:RadGridView.Columns>           
                         
</telerikGridView:RadGridView> 


And when I call SelectAll() in the constructor, all of the checkboxes are NOT checked:

public MyChildWindow() 
        { 
            InitializeComponent(); 
 
            radGridViewColumns.SelectAll(); 
                         
        } 

0
Jon
Top achievements
Rank 1
answered on 29 Apr 2010, 07:30 PM
Hi..
Don't know... I removed the grid from my ChildWindow.... are you using the current DLLs?
0
Max
Top achievements
Rank 1
answered on 30 Apr 2010, 12:44 PM
Yes, I just downloaded the latest build (Q1 2010 SP1) yesterday.
0
Yordanka
Telerik team
answered on 30 Apr 2010, 02:55 PM
Hi,

SelectAll() does not work because the grid rows are not yet created. You can use DataLoaded event and call radGridViewColumns.SelectAll() method there. In that way the grid will be loaded with all rows selected. If this is still to not working for your scenario please send as a sample project in order to identify the exact issue.

Sincerely yours,
Yordanka
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
Jon
Top achievements
Rank 1
Answers by
Milan
Telerik team
Jon
Top achievements
Rank 1
Vlad
Telerik team
Max
Top achievements
Rank 1
Yordanka
Telerik team
Share this question
or