Solved

iframe c#

Posted on 2004-09-16
2
972 Views
Last Modified: 2012-06-27
Hi Experts,

I need to access texbox in IFRAME located in PAG1.ASPX from PAGE2.ASPX. Any ideas ?

Thank you.
0
Comment
Question by:fpoyavo
  • 2
2 Comments
 
LVL 4

Expert Comment

by:vigrid
ID: 12078669
AFAIK, there is no .NET native support to do this in a simple way. The way you can do this is to use session variables and store the values you want to display (or store value from) the PAG1.ASPX IFRAME textbox and change it accordingly. You could access the session variables in PAGE2.ASPX and in PAGE1.ASPX, which would be a step further the solution of your problem. Please remember to get rid of unused data in sesssion variables collection, when you don't need them any more.

HTH
0
 
LVL 4

Accepted Solution

by:
vigrid earned 500 total points
ID: 12078681
"You could access the session variables in PAGE2.ASPX and in PAGE1.ASPX, which would be a step further the solution of your problem." - change it to "You could access the session variables in PAGE2.ASPX and in PAGE1.ASPX in a Page_Load handler or any other place you will find suitable, which would be a step further the solution of your problem"
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …

930 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

18 Experts available now in Live!

Get 1:1 Help Now