To reproduce do the following:
1. Use Virtual Scrolling
2. Add following behavior for making datagrod selection as Rows
<ig:Selection CellClickAction="Row" CellSelectType="None" RowSelectType="Multiple" > </ig:Selection>
3. Scroll through the data little.
4. Select a row in WebDataGrid.
5. Have a button or any other way make a Ajax postback.
When we do this: On the server side when we try to get the selected rows; using :
WebDataGrid1.Behaviors.Selection.SelectedRows it gives us right number of rows selected by user;
But when you rows are all null.
e.g. WebDataGrid1.Behaviors.Selection.SelectedRow[0] will be null.
Build Version: 10.3.20103.2056
Now I am using GetIDPair instead.
Selection.SelectedRows.GetIDPair(i)
The ID pairs seem to be coming out right.
Hello dharmesh,
Which build and version do you use?
I also recommend you handling RowSelectionChanged or PreRender in order to access the selected rows.