Posted 19 minutes ago (permalink)
Hi,
I'm using Telerik Rad Control for my Silverlight project. I developed a project before 2 months ago in silverlight using TelerikRadControl. I used RadGridView on my dashboard, I created a functionality on row activated event of RadGridView. According to my functionalty, on cell double click i need to get GridViewDataColumn. So i wrote the this code:
var cl = ((Telerik.Windows.Controls.GridViewDataColumn)(((Telerik.Windows.Controls.GridView.GridViewCellBase)(((Telerik.Windows.RadRoutedEventArgs)(e)).OriginalSource)).Column));
Its was working fine and i was getting my output and tested.
But now suddenly i got error even i didn't touch my code regarding this functionality.
The error is
Unable to cast object of type 'Telerik.Windows.Controls.GridView.GridViewRow' to type 'Telerik.Windows.Controls.GridView.GridViewCellBase'.
I don't know how could be this happened.
Now i resolved this error. I changed the code. But i just want to know how could be this without touching the code. And this code was working very fine before now. and Still i can run my project with old Telerik DLLs but when i replaced new DLLs that time it was working fine and tested but after some time its giving error.
Is Telerik DLLs auto updated by telerik server?
I hope you'll reply soon
Thanks & Regards,
Ramkrishn Saini,
Silverlight Developer,
+91 9004750706,
Mumbai, India.