I get the following error when I try to run the BindtoList sample (Dec 2008) for the scheduler:
Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.
Does anyone know how to resolve this and get this sample to run?
Nicole
Method not found: 'Void System.Web.UI.ScriptManager.RegisterStartupScript(System.Web.UI.Page, System.Type, System.String, System.String, Boolean)'.
Does anyone know how to resolve this and get this sample to run?
Nicole
9 Answers, 1 is accepted
0
Hello Nicole,
This error might occur if you are not using the current official release of Microsoft Ajax. Please try installing the latest bits from http://ajax.asp.net .
I hope this helps,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
This error might occur if you are not using the current official release of Microsoft Ajax. Please try installing the latest bits from http://ajax.asp.net .
I hope this helps,
Albert
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
nicole
Top achievements
Rank 1
answered on 13 Jan 2008, 02:56 PM
Thanks, that solved the problem. It took a while for me to find the download. Microsoft removed the link to the .NET 2.0 ajax download from www.asp.net/ajax but I did some searching and found it here (including the link in case someone else needs help finding it):
http://www.microsoft.com/downloads/thankyou.aspx?familyId=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displayLang=en
http://www.microsoft.com/downloads/thankyou.aspx?familyId=ca9d90fa-e8c9-42e3-aa19-08e2c027f5d6&displayLang=en
0
Bryan
Top achievements
Rank 1
answered on 06 Feb 2008, 06:28 PM
Hello,
I have the 2.0 version of the Ajax (System.Web.Extensions, 1.0.61025.0) but continue to received the same error message as initially reported in this thread.
I have the 2.0 version of the Ajax (System.Web.Extensions, 1.0.61025.0) but continue to received the same error message as initially reported in this thread.
0
Hello Bryan,
Could you please check if you have this version in the Web.config file?
Regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Could you please check if you have this version in the Web.config file?
<assemblies> |
<add assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/> |
<add assembly="System.Windows.Forms, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089"/> |
<add assembly="System.Design, Version=2.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A"/> |
</assemblies> |
Regards,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Bryan
Top achievements
Rank 1
answered on 17 Mar 2008, 05:48 PM
Peter,
I have confirmed that the web.config is correct as you listed. Could the problem be that system.web.extention is not in the GAC?
I have confirmed that the web.config is correct as you listed. Could the problem be that system.web.extention is not in the GAC?
0
Hello Bryan,
Please, view this article - Installing ASP.NET AJAX and note that:
The installation process installs the ASP.NET AJAX assembly (System.Web.Extensions.dll) in the global assembly cache (GAC). Do not include the assembly in the Bin folder of your AJAX-enabled Web site.
Greetings,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
Please, view this article - Installing ASP.NET AJAX and note that:
The installation process installs the ASP.NET AJAX assembly (System.Web.Extensions.dll) in the global assembly cache (GAC). Do not include the assembly in the Bin folder of your AJAX-enabled Web site.
Greetings,
Peter
the Telerik team
Instantly find answers to your questions at the new Telerik Support Center
0
Steele
Top achievements
Rank 1
answered on 25 Mar 2008, 01:00 AM
FYI:
I know this is unsupported, but I am getting this error now with Microsoft ASP.NET 3.5 Extensions Preview.
I am not using the Scheduler, but I am using other Prometheus controls.
Here is a StackTrace
at System.Web.UI.AsyncPostBackTrigger.HasTriggered()
at System.Web.UI.UpdatePanelTriggerCollection.HasTriggered()
at System.Web.UI.UpdatePanel.get_RequiresUpdate()
at System.Web.UI.PageRequestManager.ProcessUpdatePanels()
at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I don't know if the 3.6 version (this release of the preview) still has a problem with using Response.Write, but since you are overriding the rendering this should not be an issue.
So "Newest" Version as referred to here, means Newest NON-Preview version of the controls.
To get the stack trace you will need to change ScriptManager_AsyncPostBackError or put a stop in there to inspect the underlying error becuase the Ajax Error you get is rather bizarre and uninformative.
I know this is unsupported, but I am getting this error now with Microsoft ASP.NET 3.5 Extensions Preview.
I am not using the Scheduler, but I am using other Prometheus controls.
Here is a StackTrace
at System.Web.UI.AsyncPostBackTrigger.HasTriggered()
at System.Web.UI.UpdatePanelTriggerCollection.HasTriggered()
at System.Web.UI.UpdatePanel.get_RequiresUpdate()
at System.Web.UI.PageRequestManager.ProcessUpdatePanels()
at System.Web.UI.PageRequestManager.RenderPageCallback(HtmlTextWriter writer, Control pageControl)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at Telerik.Web.UI.RadAjaxControl.RenderPageInAjaxMode(HtmlTextWriter writer, Control page)
at System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children)
at System.Web.UI.Control.RenderChildren(HtmlTextWriter writer)
at System.Web.UI.Page.Render(HtmlTextWriter writer)
at System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter)
at System.Web.UI.Control.RenderControl(HtmlTextWriter writer)
at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
I don't know if the 3.6 version (this release of the preview) still has a problem with using Response.Write, but since you are overriding the rendering this should not be an issue.
So "Newest" Version as referred to here, means Newest NON-Preview version of the controls.
To get the stack trace you will need to change ScriptManager_AsyncPostBackError or put a stop in there to inspect the underlying error becuase the Ajax Error you get is rather bizarre and uninformative.
0
Steele
Top achievements
Rank 1
answered on 26 Mar 2008, 04:40 AM
My fault on this one... the problem is already corrected in a newer version of the Prometheus controls.
0
Online .Net Developers
Top achievements
Rank 1
answered on 11 Jul 2008, 02:27 PM
Just to confirm the solution offered here, I was getting the same error message. I had all the right versions of the AJAX Extensions installed, even.
After much banging around, I uninstalled "Microsoft ASP.NET 2.0 AJAX Extensions 1.0", reinstalled it and the error went away.
BTW, you can find the necessary download here: http://www.asp.net/ajax/downloads/archive/
Chris Cline
After much banging around, I uninstalled "Microsoft ASP.NET 2.0 AJAX Extensions 1.0", reinstalled it and the error went away.
BTW, you can find the necessary download here: http://www.asp.net/ajax/downloads/archive/
Chris Cline