Solved

iframe c#

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

Why You Should Analyze Threat Actor TTPs

After years of analyzing threat actor behavior, it’s become clear that at any given time there are specific tactics, techniques, and procedures (TTPs) that are particularly prevalent. By analyzing and understanding these TTPs, you can dramatically enhance your security program.

Join & Write a Comment

Introduction                                                 Was the var keyword really only brought out to shorten your syntax? Or have the VB language guys got their way in C#? What type of variable is it? All will be revealed.   Also called…
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…
This video discusses moving either the default database or any database to a new volume.
Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

746 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

11 Experts available now in Live!

Get 1:1 Help Now