an ASP.NET Open Source CMS & eCommerce platform
Search:
Skip Navigation LinksHome > DotShoppingCart Forums > Support > Installation > Cannot add new menu item
Last Post 12/28/2008 8:53:09 AM By estebanms. 0 replies.
12/28/2008 8:53:09 AM
estebanms
Posts: 1
Joined: 11/20/2008
Cannot add new menu item
I have tried this on two seperate installations, adding a new menu item to point to a page that I have created.  On both installations I recieve the following error:
 

RegisterDataItem can only be called during an async postback.

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: RegisterDataItem can only be called during an async postback.

Source Error:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.</td> </tr> </tbody> </table>
Stack Trace:

<table width="100%" bgcolor="#ffffcc"> <tbody> <tr> <td>
[InvalidOperationException: RegisterDataItem can only be called during an async postback.]
   System.Web.UI.PageRequestManager.RegisterDataItem(Control control, String dataItem, Boolean isJsonSerialized) +223
   System.Web.UI.ScriptManager.RegisterDataItem(Control control, String dataItem) +58
   AjaxControlToolkit.PopupControlExtender.Close(String result) +130
   AjaxControlToolkit.PopupControlExtender.Page_PreRender(Object sender, EventArgs e) +18
   System.EventHandler.Invoke(Object sender, EventArgs e) +0
   System.Web.UI.Control.OnPreRender(EventArgs e) +2117788
   System.Web.UI.Control.PreRenderRecursiveInternal() +86
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041
</td> </tr> </tbody> </table>