I have some pages in my Project and then I created a Master page and begin to add my pages to the Master page
When suddenly appear this error message:
Error Creating Control - telerik:radajaxmanager'AjaxSettings' could not be initialized. Details: [A]Telerik.Web.UI.RadAjaxManager cannot be cast to [B]Telerik.Web.UI.RadAjaxManager. Type A originates from 'Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\y.ramirez\Configuración local\Datos de programa\Microsoft\VisualStudio\9.0\ProjectAssemblies\1o26-o5n01\Telerik.Web.UI.dll'. Type B originates from 'Telerik.Web.UI, Version=2008.1.415.35, Culture=neutral, PublicKeyToken=121fae78165ba3d4' in the context 'LoadNeither' at location 'C:\Documents and Settings\y.ramirez\Configuración local\Datos de programa\Microsoft\VisualStudio\9.0\ProjectAssemblies\0kkaeir201\telerik.web.ui.dll'.
I solve the problem by doing the following:
1. remove the toolbox tag for Telerik controls in VS.
2. remove the Reference of Telerik from the Project in VS.
3. Exit VS with save changes option.
4. Use "Register RadControls for ASPNET AJAX Q1 2008 items in the Visual Studio toolbox"
But when I close VS and then open it the error appears once again.
What can I do?
<
telerik:RadTreeView
ID
=
"SavedReportsTreeView"
runat
=
"server"
Width
=
"100%"
Height
=
"500px"
SkinID
=
"cbsTreeView"
OnClientNodeClicked
=
"ClientNodeClicked"
OnClientNodeExpanding
=
"ModifyCookieOnExpand"
OnClientNodeCollapsing
=
"ModifyCookieOnCollapse"
>
<
NodeTemplate
>
<
asp:Label
ID
=
"Label1"
isText
=
"true"
runat
=
"server"
Text='<%# DataBinder.Eval(Container, "Text") %>' />
<
asp:LinkButton
ID
=
"runReportLinkButton"
runat
=
"server"
Text
=
""
>
<
asp:Image
ID
=
"runReportInfoImage"
style
=
"padding-left: 5px;"
runat
=
"server"
ImageUrl
=
"~/img/icons/report_go.png"
/>
</
asp:LinkButton
>
</
NodeTemplate
>
</
telerik:RadTreeView
>
Thanks,
Michael