All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
How to set in code the first row of the grid selected?
grdRptCallDetails_SelectedItems = RptResults[0].ToList();
Wont work. So How do I set that to the first row in the grid?
ok, just incase anyone else needs this:
lgRecID = gdCallDetails[0].RecordNbr;grdRptCallDetails_SelectedItems = gdCallDetails.Where(item => item.RecordNbr == lgRecID).ToList();
Only issue with this is you have to have a unique ID value in that RecordNbr field. for each row.
ok, just incase anyone else needs this:
lgRecID = gdCallDetails[0].RecordNbr;
grdRptCallDetails_SelectedItems = gdCallDetails.Where(item => item.RecordNbr == lgRecID).ToList();
Only issue with this is you have to have a unique ID value in that RecordNbr field. for each row.