Error creating template groups. Reason: System.InvalidCastException: [A]Telerik.Web.UI.RadGrid cannot be cast to [B]Telerik.Web.UI.RadGrid.
There is a long description for which I have a snapshot that I can send in an email if needed. On Friday I closed a working project and today when i opened the project and one page had all the telerik components in red with a lot of pop up messages. The only way to fix it after couple of tries (like shut down VS 2008, rebooting the machine) was to remove all the telerik controls and the
Register assembly="Telerik.Web.UI" namespace="Telerik.Web.UI" tagprefix="telerik"
at the top of the page and losing work previously done.
After i added the first component, a radGrid, then the master page got errors such as Error Creating Control - RadScriptManager1 Unknown server tag telerik:RadScriptManager and another one for the telerik menu control.
By deleting and adding the Register... (added by the grid that was droppped on the page) from above the error dissapeared.
I had previous issues with same knid of errors that disappeared after closing VS 2008 and restarting but not this time.
You cannot access the properties in design mode but you can build with NO ERRORS and run the program with normal functionality (weird eh?)
The thing is (becase it happened before but fixed itself) to have a huge project done (I have just started and will be big anyway) and one day all (or some) the telerik controls to show in red and have no access to their properties: kind of a scary thought!
Please advise,
Another Dan.