Greetings,
I have a RadGrid that does not select multiple rows correctly when using the 'cntrl key.' The first row can be selected using the mouse and this action will highlight the entire row. However, when the next row is clicked by simultaneously holding the 'cntrl' key, only the * text * of this next row (or subsequent rows) will also be selected instead of the row.
There is a distinct difference between a row being selected/highlighted and the row's text being selected or highlighted.
Below is the code I have to declare the RadGrid. The most important property settings I could imagine are:
* AllowMultiRowSelection="true"
* AllowRowSelect="True"
Outside of these two properties, is there something I am missing that keeps this from working right?
Thanks!
-----------------------------------------------------------------------------------------------------------------------
<telerik:RadGrid ID="rgGrpNotice" runat="server" AutoGenerateColumns="false"
AllowMultiRowSelection="true" BorderColor="Gray" BorderWidth="1px" >
<ClientSettings AllowColumnHide="True">
<Selecting AllowRowSelect="True"></Selecting>
<Scrolling AllowScroll="true" SaveScrollPosition="true" />
</ClientSettings>
<PagerStyle Mode="NextPrevAndNumeric" />
<MasterTableView DataKeyNames="entitynotice_id,level" AllowMultiColumnSorting="True">
<Columns>
<telerik:GridBoundColumn SortExpression="EntityNotice_Id" HeaderText="EntityNotice_Id" HeaderButtonType="TextButton"
DataField="EntityNotice_Id" UniqueName="EntityNotice_Id" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="level" HeaderText="level" HeaderButtonType="TextButton"
DataField="level" Visible="false">
</telerik:GridBoundColumn>
<telerik:GridTemplateColumn UniqueName="GridCheckBoxColumn" HeaderText="Check" ItemStyle-HorizontalAlign="Center" ItemStyle-Width="15px">
<ItemTemplate>
<asp:CheckBox ID="MaintCheckBox" runat="server" AutoPostBack="true" OnCheckedChanged="CheckChanged" />
</ItemTemplate>
<ItemStyle HorizontalAlign="Center" />
</telerik:GridTemplateColumn>
<telerik:GridBoundColumn SortExpression="Template Name" HeaderText="Template Name" HeaderButtonType="TextButton"
DataField="Template Name">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Owner" HeaderText="Owner" HeaderButtonType="TextButton"
DataField="Owner" >
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Author" HeaderText="Author" HeaderButtonType="TextButton"
DataField="Author">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Created" HeaderText="Created" HeaderButtonType="TextButton"
DataField="Created">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Last Edit" HeaderText="Last Edit" HeaderButtonType="TextButton"
DataField="Last Edit">
</telerik:GridBoundColumn>
<telerik:GridBoundColumn SortExpression="Primary Relation" HeaderText="Primary Relation" HeaderButtonType="TextButton" DataField="Primary Relation" Visible="false">
</telerik:GridBoundColumn>
</Columns>
<RowIndicatorColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</RowIndicatorColumn>
<ExpandCollapseColumn>
<HeaderStyle Width="20px"></HeaderStyle>
</ExpandCollapseColumn>
</MasterTableView>
<ClientSettings>
<Selecting AllowRowSelect="True" />
</ClientSettings>
<EditItemStyle BorderColor="Gray" BorderWidth="1px" />
</telerik:RadGrid>
-----------------------------------------------------------------------------------------------------------------------