Product Bundles
DevCraft
All Telerik .NET tools and Kendo UI JavaScript components in one package. Now enhanced with:
Web
Mobile
Document Management
Desktop
Reporting
Testing & Mocking
CMS
UI/UX Tools
Debugging
Free Tools
Support and Learning
Docs & Resources
Productivity and Design Tools
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.