Refresh a parent page from a child iframe, with codebehind

two pages
1. Parent page = "default.aspx",   lable = "lblUserName"
2. iframe = "login.aspx", "btnLogin"

(all my authentication works, using FormsAuthentication for ticket, I am having difficulty populating the label with the username)  

1. I want to get the default page to reload so,  "onload"  i can get and display the username; or

2. some how update the label on the parent page "default.aspx" and get it to render when the login button on the child iframe "login.aspx" is clicked,

Thanks for the assistance.

Edit:  2015 0310 0619, I think window.opener.location.href= ''; my be what I am looking for, still searching
Who is Participating?
David Johnson, CD, MVPOwnerCommented:
basically you can't since my browser only cares about the item in focus .. remember that web traffic is stateless
SamCashAuthor Commented:
This clarified the issue, and did a conventional design, Thanks
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.