Jonathan Laroche
 New Member Posts:7
 |
| 09 Sep 2009 03:13 PM |
|
Hello, i seem to be having an issue when trying to edit the content in the content manager. I have created a content type so there is no problem on that side. But as soon as i click "edit content" i get the following message: ------------------------------------------------------------------------------------------------ Server Error in '/' Application. -------------------------------------------------------------------------------- The control with ID 'objTextEditor' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. 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.InvalidOperationException: The control with ID 'objTextEditor' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it. Source Error: The source code that generated this unhandled exception can only be shown when compiled in debug mode. To enable this, please follow one of the below steps, then request the URL: 1. Add a "Debug=true" directive at the top of the file that generated the error. Example: <%@ Page Language="C#" Debug="true" %> or: 2) Add the following section to the configuration file of your application: <configuration> <system.web> <compilation debug="true"/> </system.web> </configuration> Note that this second technique will cause all files within a given application to be compiled in debug mode. The first technique will cause only that particular file to be compiled in debug mode. Important: Running applications in debug mode does incur a memory/performance overhead. You should make sure that an application has debugging disabled before deploying into production scenario. Stack Trace: [InvalidOperationException: The control with ID 'objTextEditor' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.] Telerik.Web.UI.ScriptRegistrar.GetScriptManager(Control control) +238 Telerik.Web.UI.RadWebControl.get_ScriptManager() +16 Telerik.Web.UI.RadWebControl.RegisterScriptControl() +27 Telerik.Web.UI.RadEditor.RegisterScriptControl() +27 Telerik.Web.UI.RadWebControl.ControlPreRender() +19 Telerik.Web.UI.RadEditor.ControlPreRender() +15 Telerik.Web.UI.RadWebControl.OnPreRender(EventArgs e) +22 System.Web.UI.Control.PreRenderRecursiveInternal() +80 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Control.PreRenderRecursiveInternal() +171 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +842 [PageLoadException: The control with ID 'objTextEditor' requires a ScriptManager on the page. The ScriptManager must appear before any controls that need it.] DotNetNuke.Services.Exceptions.Exceptions.ProcessPageLoadException(Exception exc, String URL) +324 DotNetNuke.Framework.PageBase.Page_Error(Object Source, EventArgs e) +380 System.Web.UI.TemplateControl.OnError(EventArgs e) +8689450 System.Web.UI.Page.HandleError(Exception e) +84 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +6776 System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +242 System.Web.UI.Page.ProcessRequest() +80 System.Web.UI.Page.ProcessRequestWithNoAssert(HttpContext context) +21 System.Web.UI.Page.ProcessRequest(HttpContext context) +49 ASP.default_aspx.ProcessRequest(HttpContext context) +4 System.Web.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +181 System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +75 --------------------------------------------------------------------------------------------------------- Debug is already set at true by the way! Thanks for any help!! Jonathan |
|
|
|
|
Jonathan Laroche
 New Member Posts:7
 |
| 09 Sep 2009 06:50 PM |
|
I also noticed that i do not have the EditContent.ascx.vb file which seems to be inherited in the code...if someone has it could you please copy the code here please...or do i not need it? thanks again Jonathan |
|
|
|
|
Inven Manager
 Senior Member Posts:6761

 |
|
Jonathan Laroche
 New Member Posts:7
 |
| 11 Sep 2009 03:34 PM |
|
Ok goog to know that i don't need that .vb file. I do not get the scriptmanager error with any internal module that comes with DNN. I only get it with modules made inhouse or modules that i have downloaded online like this one :(. Would you have any idea as to what the problem might be? thanks alot for the help! Jonathan |
|
|
|
|
Inven Manager
 Senior Member Posts:6761

 |
|
Jonathan Laroche
 New Member Posts:7
 |
| 14 Sep 2009 07:26 PM |
|
Sorry for the long delay, but everything has been fixed. I found out that someone had modified DNN to load all the JS on the admin side and hence created a scriptmanager for it...so less load time for the user. thanks for the support Inven Manager very much appreciated!!! |
|
|
|
|