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

When multiselecting rows in Telerik RadGrid all the text is selected, How to avoid this?

1 Answer 120 Views
Grid
This is a migrated thread and some comments may be shown as answers.
Vasanthkani
Top achievements
Rank 1
Vasanthkani asked on 10 Jun 2013, 09:33 AM
I am using IE8 browser, I have the Telerik Radgrid programmed for multiselection. When client presses 'Ctrl' and selects multiple rows, the text of all the rows are getting selected. Please look at the attached image, which shows the issue. Please let me know a solution for this issue.

1 Answer, 1 is accepted

Sort by
0
Princy
Top achievements
Rank 2
answered on 10 Jun 2013, 09:54 AM
Hi,

Here is an example i have tried it works fine,please check it,if it doesn't help,provide your code,and let us know which version you are using.

ASPX:
<telerik:RadGrid ID="RadGrid1" DataSourceID="SqlDataSource2" runat="server" Skin="WebBlue"
           AutoGenerateColumns="False" PageSize="10" AllowSorting="True" AllowPaging="True" AllowMultiRowSelection="true">
           <ClientSettings>
           <Selecting AllowRowSelect="true" />
           </ClientSettings>
           <MasterTableView DataSourceID="SqlDataSource2">
           <Columns>
               <telerik:GridBoundColumn SortExpression="OrderID" HeaderText="OrderID" HeaderButtonType="TextButton"
                   DataField="OrderID" UniqueName="OrderID" ReadOnly="true" Visible="false">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="ProductID" HeaderText="ProductID" HeaderButtonType="TextButton"
                   DataField="ProductID" UniqueName="ProductID" Aggregate="Count">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="UnitPrice" HeaderText="Unit Price" HeaderButtonType="TextButton"
                   DataField="UnitPrice" UniqueName="UnitPrice">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="Quantity" HeaderText="Quantity" HeaderButtonType="TextButton"
                   DataField="Quantity" UniqueName="Quantity">
               </telerik:GridBoundColumn>
               <telerik:GridBoundColumn SortExpression="Discount" HeaderText="Discount" HeaderButtonType="TextButton"
                   DataField="Discount" UniqueName="Discount">
               </telerik:GridBoundColumn>
               </Columns>
           </MasterTableView>
       </telerik:RadGrid>

Thanks
Princy
Tags
Grid
Asked by
Vasanthkani
Top achievements
Rank 1
Answers by
Princy
Top achievements
Rank 2
Share this question
or