Telerik Forums RSShttp://www.telerik.com/urn:uuid:da2ba0a1-698b-4ffa-bc0c-66c1e0a125d7http://www.telerik.com/forums/permalink/oaAr2otp-k-8DGbB4KEl1wRadGrid DataSource and Selection not playing nice<p>As is said in the next post it's a expected behavior. Here the suggestion from telerik documentation :&nbsp;</p>
<p><a href="http://docs.telerik.com/devtools/aspnet-ajax/controls/grid/functionality/selecting/how-to/persisting-selected-rows-server-side" target="_blank" id="link_1467744576455">Persisting the Selected Rows Server-side on Sorting/Paging/Filtering/Grouping</a></p>urn:uuid:82b6cd4d-1dcb-4fb9-980b-b9f498276f33http://www.telerik.com/forums/permalink/Tc22gssduU-YC7n0mCdvMwRadGrid DataSource and Selection not playing niceHi Kevin,<br />
<br />
This is the expected behavior of RadGrid,&nbsp;it&nbsp;loses its current selection when the grid Rebinds. You can take a look at the following help article to know how to persist the selected rows.<br />
<a href="http://www.telerik.com/help/aspnet-ajax/grid-persist-selected-rows-on-sorting.html">Persisting the Selected Rows Server-side on Sorting/Paging/Filtering/Grouping</a><br />
<br />
Thanks,<br />
Shinu<br />
<br />urn:uuid:4c50d13e-1e19-4c84-89db-1b27d45c3045http://www.telerik.com/forums/permalink/PtFQTBkehEyJ2xsn1FwwRQRadGrid DataSource and Selection not playing niceI have a RadGrid with dynamically populated rows that updates frequently using Rebind, NeedDataSource, and a DataTable.&nbsp; This functions very well, until I try to select rows in my grid.&nbsp; The short explanation is that every time the DataSource on the RadGrid changes, selected rows are reset and do not persist.&nbsp; I've been ripping my hair out trying to get around this, but I've had no success.&nbsp; Here are some scenarios I've tried.<br />
<br />
-Rebind, NeedDataSource, new DataTable - Selected rows do not persist<br />
-Rebind, NeedDataSource, modify an existing DataTable - Selected rows do not persist<br />
-Remove Rebind and NeedDataSource, manually modify an existing DataTable - Grid does not update<br />
-Remove Rebind and NeedDataSource, manually modify an existing DataTable, set DataSource and call DataBind - Selected rows do not persist<br />
-Rebind, NeedDataSource, manually track row selections and set the GridDataItem.Selected property after setting the DataSource - Selected rows do not persist<br />
<br />
So the conclusions I've come to is that selected rows are reset whenever the DataSource property is changed, a RadGrid will not update unless the DataSource property is changed, and the GridDataItem.Selected set property does not do what I would expect it to do.<br />
<br />
Is there any way to accomplish this, or am I completely out of luck?&nbsp; Thanks!