I would like to test if Test if RadGridView.MasterTemplate.LoadFrom (datareader) is successful and show a message box
Thanks so much
1 Answer, 1 is accepted
Dess | Tech Support Engineer, Principal
answered on 22 Nov 2019, 01:12 PM
There is no general approach for testing whether the DataReader is loaded successfully. However, you can put the method call in a try-catch block to handle any unexpected scenarios and if after the LoadFrom method call, the grid is filled with Columns and Rows, it would mean that the operation is successful.
I hope this information helps. If you need any further assistance please don't hesitate to contact me.
Dess | Tech Support Engineer, Sr.
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers.Learn More.