1659152 - Attempt to redirect an iFrame via a hyperlink causes a new browser window to open

SAP Knowledge Base Article - Public

1659152 - Attempt to redirect an iFrame via a hyperlink causes a new browser window to open

Symptom

Redirect of an iFrame via a hyperlink causes a new browser window to open

Environment

  • Crystal Reports for Visual Studio 2010
  • VS2010

Reproducing the Issue

  1. Create a simple frames page that has a left frame and a right frame:
<html xmlns="http://www.w3.org/1999/xhtml">
<FRAMESET ROWS="15%,*">  
<FRAME SRC="right.aspx" NAME=TITLE SCROLLING=NO MARGINHEIGHT=1>
<FRAMESET COLS="20%,*">     
<FRAME SRC="left.aspx" NAME="SIDEBAR">
<FRAME SRC="welcome.aspx" NAME="main">  
</FRAMESET><NOFRAMES></NOFRAMES> </FRAMESET> <head>
<title></title></head><body></body></html>
  1. In the left (Sidebar) frame, place a page that has a few hyperlinks that open in the Main (Right) frame.  One of the hyperlinks should open a Crystal Report in the .NET Webform Viewer
  2. Run the application and click on one of the hyperlinks (ieMicrosoft.com) - see that it opens in the main frame
  3. Click on the hyperlink that opens and views a crystal report and essthat it opens in the main frame
  4. Click on the first hyperlink (or any other one) again and it will open in a new window rather than the main frame.  None of the links that target the main frame will open in the main frame as desired

Cause

  • The viewer files (allinone.js) appear to change the main framename to "filter" rather than what is specified in the frames page
  • This issue has been escalated for a fix and assigned to Service Pack 3 for Crystal Reports for Visual Studio 2010
  • reference: ADAPT01554950

Resolution

Keywords

CR2010 2010 CR4VS2010 CR4VS VS2010 NET2010 Crystal Reports for .NET Framework 4.0 crforvs 13 frame i tab hyper link , KBA , BI-DEV-NET-SDK , .NET SDK / COM SDK , Problem

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio