Microsoft KB Archive/330821

From BetaArchive Wiki
< Microsoft KB Archive
Revision as of 17:55, 18 July 2020 by 3155ffGd (talk | contribs) (importing KB archive)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Knowledge Base


FIX: ASPX and ASP Mixed Mode Navigation Broken After You Click Submit, Approve, or Decline in ASPX

Article ID: 330821

Article Last Modified on 10/26/2002



APPLIES TO

  • Microsoft Content Management Server 2002



This article was previously published under Q330821

SYMPTOMS

When you author an ASPX-based page and use the Submit, Approve, or Decline action links (or any custom action links that are derived from the BasePostbackAction control) in the edit console, the console is gone after you switch to an Active Server Pages (ASP)-based page (including an ASP-based channel rendering script).

CAUSE

The following two API calls do not generate querystrings to be read by the ASP console:

  • WebAuthorContext.GetUrlForMode(HierarchyItem hierarchyItem, WebAuthorContextMode mode, bool CmsHttpContextUpdateMode)
  • WebAuthorContext.GetUrlInnerForMode(HierarchyItem hierarchyItem, WebAuthorContextMode mode, bool CmsHttpContextUpdateMode)


RESOLUTION

To work around this problem, use either of the following methods:

  • Open a new browser window. With a new browser, cross-site navigation from ASPX to ASP is not a problem. The problem occurs when you use Submit, Approve, or Decline.
  • Avoid implementing mixed (ASPX and ASP) sites. This approach also makes the site more manageable and minimizes the complexity of a mixed site scenario.


STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

Keywords: kbbug kbfix KB330821