Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9134651
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T08:42:04+00:00 2026-06-17T08:42:04+00:00

In a iframe I set the src to a page containing Silverlight Web Part,

  • 0

In a iframe I set the src to a page containing Silverlight Web Part, it doesn’t generate any anchor element, but on the silverlight web part there are text we can click on and they will redirect the page to a new url.

The problem is the url always opens in the iframe instead of the parent window. I tried the following things:

<base target="_search" />
<base target="_top" />
<base target="_parent" />

inside the <head></head> of my iframe page and without the "" and the / but none worked.

The Silverlight is a Sharepoint component so I could not change it or see the code to know how it open links, so I could do nothing about that.

I’d like very much to know if there are any other violent ways to force links to open in the parent window? Thanks for your help.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T08:42:05+00:00Added an answer on June 17, 2026 at 8:42 am

    If this is the same issue I’ve been working on(adding the organization browser in sharepoint inside of an iFrame) today this may help. On the page that contains the silverlight web part and is viewed through an iFrame on a different page, I override the window.open function that is used by silverlight to change the url. Below I change the URL of the parent window so the subsequent navigation takes place in the main window and the iframe is completely transparent to the user.

    This may be useful to you, haven’t tried, but I’m assuming you’ll be able to find your other iframes once you get to the top frame. This is also cross domain in my case.

    <script>
    //Window.open override - catches HTMLWindow.Navigate from silverlight hyperlink
    window.open = function (open) {
        return function (url, name, features) {
            window.top.location = url;
            return false;
       };
    }(window.open);
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Let's say i have an iframe with the page 2.htm set as the src.
On my xyz.aspx page I added a Iframe and set it src to abc.aspx
I have a web page on http ://localhost/mySite/Page1.aspx that contains an iframe with src
I have an Iframe inside of a page that has the src set to
I have an aspx page with an iFrame. The iFrame's src is set to
I set a src attribute of an iframe as a home page, so after
I am displaying the iframe in wordpress page template. In iframe src i have
If I have a page which contains an iframe: <iframe src=blank.html id=frame></iframe> and I
Setting the src attribute of an IFrame to data:application/pdf;base64, isn't working for me, any
I set the src attribute of an iframe to a download url and then

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.