Solved

iframe c#

Posted on 2004-09-16
2
981 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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Introduction This article series is supposed to shed some light on the use of IDisposable and objects that inherit from it. In essence, a more apt title for this article would be: using (IDisposable) {}. I’m just not sure how many people would ge…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
This tutorial gives a high-level tour of the interface of Marketo (a marketing automation tool to help businesses track and engage prospective customers and drive them to purchase). You will see the main areas including Marketing Activities, Design …
Along with being a a promotional video for my three-day Annielytics Dashboard Seminor, this Micro Tutorial is an intro to Google Analytics API data.

773 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