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>
|