[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
?
Solved

iframe c#

Posted on 2004-09-16
2
Medium Priority
?
1,009 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 2000 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

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.
The article shows the basic steps of integrating an HTML theme template into an ASP.NET MVC project
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses
Course of the Month19 days, 6 hours left to enroll

834 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