In this code:
I am casting record as a Customer. What if I don't know that my RadGrid is bound to Customer objects? Is there a way to tell what type of objects are bound to my radgrid and then cast out each record in order to get access to the properties?
Thanks,
Scott
Customer cutomer = (Customer) (record as DataRecord).Data; |
cutomer.HasOrders = true; |
I am casting record as a Customer. What if I don't know that my RadGrid is bound to Customer objects? Is there a way to tell what type of objects are bound to my radgrid and then cast out each record in order to get access to the properties?
Thanks,
Scott