This is a migrated thread and some comments may be shown as answers.

[Solved] Telerik.Charting and prometheus ajaxmanager

2 Answers 263 Views
Ajax
This is a migrated thread and some comments may be shown as answers.
NS
Top achievements
Rank 1
NS asked on 19 Oct 2007, 06:04 AM
Hello,
I developed a page with two prometheus charts and a prometheus ajaxmanager on a page.

This page works perfectly on my development machine. However, when I deploy it to production I get the following error:

Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.   
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.   
 
Exception Details: System.MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.  
 
 
Stack Trace:   
 
 
[MissingMethodException: Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.]  
   Telerik.Web.UI.RadAjaxControl.PerformRender() +0  
   Telerik.Web.UI.RadAjaxControl.OnPageRender(HtmlTextWriter writer, Control page) +1222  
   Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page) +33  
   System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +2113547  
   System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +24  
   System.Web.UI.Page.Render(HtmlTextWriter writer) +26  
   System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +25  
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +121  
   System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +22  
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1896 

If I remove on my form the following lines the problem goes away:

strange that this works in development but not in production ...
<telerik:RadAjaxManager ID="RadAjaxManager1" runat="server">
                <AjaxSettings>
                    <telerik:AjaxSetting AjaxControlID="dliChartType">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadChart1" LoadingPanelID="LoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="RadChart2" LoadingPanelID="LoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                    <telerik:AjaxSetting AjaxControlID="dliChartColor">
                        <UpdatedControls>
                            <telerik:AjaxUpdatedControl ControlID="RadChart1" LoadingPanelID="LoadingPanel1" />
                            <telerik:AjaxUpdatedControl ControlID="RadChart2" LoadingPanelID="LoadingPanel1" />
                        </UpdatedControls>
                    </telerik:AjaxSetting>
                </AjaxSettings>
            </telerik:RadAjaxManager>

Regards,
Nicolas

2 Answers, 1 is accepted

Sort by
0
Vlad
Telerik team
answered on 19 Oct 2007, 07:13 AM
Hi Nicolas ,

I have seen such error once with an old version of ASP.NET AJAX - please verify that you are using latest version of ASP.NET AJAX.

All the best,
Vlad
the Telerik team

Instantly find answers to your questions at the new Telerik Support Center
0
NS
Top achievements
Rank 1
answered on 19 Oct 2007, 07:27 AM
Hello Vlad,
I did an install of the latest version of the ajax framework and that did the trick ! Thank you.

It was however the same version: 1.0.61025, but there was a difference in size of some of the javascript files in the ms ajax folder.

Regards,
Nicolas
Tags
Ajax
Asked by
NS
Top achievements
Rank 1
Answers by
Vlad
Telerik team
NS
Top achievements
Rank 1
Share this question
or