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

CanUserSelect="True" won't allow multiple row selection

3 Answers 79 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.
Brian Graves
Top achievements
Rank 1
Brian Graves asked on 02 Jun 2010, 02:11 AM
I can select any row in my RadGridView and copy it to an Excel spreadsheet but it won't allow me to select multple rows before I copy.  Even when I set the CanUserSelect flag to true, I can only select one row at a time.  How can I change my grid to allow selection of  multiple rows?

3 Answers, 1 is accepted

Sort by
0
Accepted
Vlad
Telerik team
answered on 02 Jun 2010, 06:35 AM
Hi,

You should set SelectionMode to Extended or Multiple to achieve this.

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
Brian Graves
Top achievements
Rank 1
answered on 02 Jun 2010, 06:16 PM
Thanks, this worked perfectly.  :)
0
L. M. Pathan
Top achievements
Rank 1
answered on 20 Mar 2012, 12:53 PM
Telerik Team,

I have been using Telerik Controls for last one year but I am new to Telerik Controls for Silverlight. I am using Rad Grid and want to allow user to select multiple rows and I have set following properties but I don't see row selector column. I checked this demo http://demos.telerik.com/silverlight/#GridView/Selection/RowSelection and I need the same column (first column with right arrow) for selecting multiple row. If I can allow user to select checkbox like select all or select particular row using checkbox column is preferable.

<telerik:RadGridView x:Name="grdInvoices"

            AutoGenerateColumns="False"
            CanUserDeleteRows="False"
            CanUserFreezeColumns="False"
            CanUserInsertRows="False"
            CanUserReorderColumns="False"
            CanUserResizeColumns="True"
            CanUserSelect="True"
            CanUserSortColumns="True"
            ShowGroupPanel="False" 
            SelectionUnit="FullRow"
            SelectionMode="Extended"

            IsFilteringAllowed="True"
            IsBusy="False"
            ItemsSource="{Binding Path=Invoices}"
            RowIndicatorVisibility="Visible">

Please advise. Thank you.

Pathan L. M.

Tags
GridView
Asked by
Brian Graves
Top achievements
Rank 1
Answers by
Vlad
Telerik team
Brian Graves
Top achievements
Rank 1
L. M. Pathan
Top achievements
Rank 1
Share this question
or