Solved

iframe c#

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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

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…
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.
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

696 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