I have a problem with using Iframe

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • desidude
    New Member
    • May 2010
    • 6

    I have a problem with using Iframe

    I am using an IFrame in one of my aspx pages. The source for the Iframe is an aspx page which consists of several links of other pages(All are developed in .net 2003) now i am using 2008.

    The Problem is for some of the pages there is query string which consists of username.I need to pass the username from the parent page to the IFrame pages.Is there any way to acheive this? I am using windows authentication in the new system.
  • ThatThatGuy
    Recognized Expert Contributor
    • Jul 2009
    • 453

    #2
    Originally posted by desidude
    I am using an IFrame in one of my aspx pages. The source for the Iframe is an aspx page which consists of several links of other pages(All are developed in .net 2003) now i am using 2008.

    The Problem is for some of the pages there is query string which consists of username.I need to pass the username from the parent page to the IFrame pages.Is there any way to acheive this? I am using windows authentication in the new system.
    when you load the aspx page in iFrame..
    say. smallPage.aspx. .
    pass the query string along with the url..

    Although you have to build the url+ the query string in javascript

    Comment

    Working...