Hi,
I'm trying to get started with the controls but am having some problems.
I installed them on one machine and kept receiving the "Can not cast" errors." So, I installed SP1. That did not help
So, just in case my environment was messed up, i created a completely clean dev environment as follows:
1. Started with a completely clean VM of XP with SP3
2. Installed VS 2008
3. Installed vs sp1
4. installed RadControls_for_ASP.NET_AJAX_2009_2_701_trial.msi
Then, just to see if I was still having the problem I created a RadCrontrols VB.Net Web Application project.
From there I did the following:
1. Drop a RadTreeView onto Default.aspx
2. Error - Unable To Cast...
3. Close Default.aspx and reopen it - it is fine
4. Use "Build RadTreeView" to add a few nodes.
5. Error - RadTreeView - RadTreeView1There was an error rendering the control.
Unable to cast object of type 'Telerik.Web.UI.RadTreeView' to type 'Telerik.Web.UI.ControlItemContainer'.
6. Close and reopen Default.aspx - it is fine
7. Add a Grid
8. Run it.
9. Delete the grid
10. Close and open default.aspx - Error in both RadTreeView sections - Error Creating Control - RadTreeView2'Nodes' could not be initialized. Details: [A]Telerik.Web.UI.RadTreeView cannot be cast to [B]Telerik.Web.UI.RadTreeView. Type A originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\xpUser1\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies\j4t8j5az01\telerik.web.ui.dll'. Type B originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\xpUser1\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies\4xzcagnf01\Telerik.Web.UI.dll'.
11. Close and open again - same errors
12. Close and open VS - everything is fine
Based on the articles I found, this should not be happening with SP1.
Does anyone know how to permanently eliminate (or at least work around in a reasonable fashion) this type of issue?
Thanks
I'm trying to get started with the controls but am having some problems.
I installed them on one machine and kept receiving the "Can not cast" errors." So, I installed SP1. That did not help
So, just in case my environment was messed up, i created a completely clean dev environment as follows:
1. Started with a completely clean VM of XP with SP3
2. Installed VS 2008
3. Installed vs sp1
4. installed RadControls_for_ASP.NET_AJAX_2009_2_701_trial.msi
Then, just to see if I was still having the problem I created a RadCrontrols VB.Net Web Application project.
From there I did the following:
1. Drop a RadTreeView onto Default.aspx
2. Error - Unable To Cast...
3. Close Default.aspx and reopen it - it is fine
4. Use "Build RadTreeView" to add a few nodes.
5. Error - RadTreeView - RadTreeView1There was an error rendering the control.
Unable to cast object of type 'Telerik.Web.UI.RadTreeView' to type 'Telerik.Web.UI.ControlItemContainer'.
6. Close and reopen Default.aspx - it is fine
7. Add a Grid
8. Run it.
9. Delete the grid
10. Close and open default.aspx - Error in both RadTreeView sections - Error Creating Control - RadTreeView2'Nodes' could not be initialized. Details: [A]Telerik.Web.UI.RadTreeView cannot be cast to [B]Telerik.Web.UI.RadTreeView. Type A originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\xpUser1\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies\j4t8j5az01\telerik.web.ui.dll'. Type B originates from 'Telerik.Web.UI, Version=2009.2.701.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\xpUser1\Local Settings\Application Data\Microsoft\VisualStudio\9.0\ProjectAssemblies\4xzcagnf01\Telerik.Web.UI.dll'.
11. Close and open again - same errors
12. Close and open VS - everything is fine
Based on the articles I found, this should not be happening with SP1.
Does anyone know how to permanently eliminate (or at least work around in a reasonable fashion) this type of issue?
Thanks