jortizromo
jortizromo

Reputation: 814

telerik:Radgrid AllowMultiRowSelection behaviour if user selects first row at the bottom and then row on top

I would like to know if telerik:Radgrid multiple row selection property (for a range of rows - Click first row followed by Shift+Click last row) only works if the user selects first row on top of Grid followed by row at the bottom.

what if the user select first row at the bottom and then row on top? I expect it should also select the rows in between but in this case it only select the row on top.

does anybody know if this is an expected AllowMultiRowSelection behaviour for telerik:RadGrid?

the other cases (Ctrl+click) work just well,

<telerik:RadGrid ID="rg" runat="server" AutoGenerateColumns="False" AllowMultiRowSelection="True" >
    <ClientSettings EnablePostBackOnRowClick="true">
        <Selecting AllowRowSelect="True" />
    </ClientSettings>
</telerik:RadGrid>

any help thank you in advance.

Upvotes: 0

Views: 1358

Answers (1)

rdmptn
rdmptn

Reputation: 5603

There shouldn't be issues with this. I tried it and it worked fine for me. Try this demo and mimic it: http://demos.telerik.com/aspnet-ajax/grid/examples/functionality/selecting/row-selection/defaultcs.aspx.

What is important there is that two of the rows cannot be selected and this is done intentionally, with some server code (see the RadGrid1_PreRender event handler). Make sure this is not the case with you - if you copied all the code you have also copied that too and you will need to remove it.

Upvotes: 2

Related Questions