how to make original control work from iframe's control

H

haiwen

Hello, everyone,
I have a web page that has a IFRAME(because I need the
scroolbar for this area), and other server side controls
(such as Button(butNext), Image(img1)...)
the IFRAME's source page has a submit button, is there
some way to make butNext click when click the submit
button in IFRAME.

I use:
Response.Write(@"<script language=javascript>
document.Form1.butNext.click();

</script>");

but it doesn't work though it work if there isn't IFRAME.

Could anyone help me? I do appreciate your help.

thank a lot,

haiwen
 
Y

Yan-Hong Huang[MSFT]

Hello Haiwen,

I am looking for somebody who could help you on it. Thanks for participating the community.

Best regards,
Yanhong Huang
Microsoft Online Partner Support

Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
!Content-Class: urn:content-classes:message
!From: "haiwen" <[email protected]>
!Sender: "haiwen" <[email protected]>
!Subject: how to make original control work from iframe's control
!Date: Thu, 24 Jul 2003 12:07:09 -0700
!Lines: 22
!Message-ID: <[email protected]>
!MIME-Version: 1.0
!Content-Type: text/plain;
! charset="iso-8859-1"
!Content-Transfer-Encoding: 7bit
!X-Newsreader: Microsoft CDO for Windows 2000
!X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4910.0300
!Thread-Index: AcNSFsfqcysemrmARsywn8KNDiwyhg==
!Newsgroups: microsoft.public.dotnet.framework.aspnet.webcontrols
!Path: cpmsftngxa06.phx.gbl
!Xref: cpmsftngxa06.phx.gbl microsoft.public.dotnet.framework.aspnet.webcontrols:13413
!NNTP-Posting-Host: TK2MSFTNGXA11 10.40.1.163
!X-Tomcat-NG: microsoft.public.dotnet.framework.aspnet.webcontrols
!
!Hello, everyone,
!I have a web page that has a IFRAME(because I need the
!scroolbar for this area), and other server side controls
!(such as Button(butNext), Image(img1)...)
!the IFRAME's source page has a submit button, is there
!some way to make butNext click when click the submit
!button in IFRAME.
!
!I use:
!Response.Write(@"<script language=javascript>
!document.Form1.butNext.click();
!
!</script>");
!
!but it doesn't work though it work if there isn't IFRAME.
!
!Could anyone help me? I do appreciate your help.
!
!thank a lot,
!
!haiwen
!
!
 
H

haiwen

hello,Ariel Molina:

Thanks so much for your help, I try your example but I
always get error message:stack overflow at line:12

Sincerely,

haiwen
 
A

Ariel Molina

Haiwen,

Could a sample page where I may see the error occur in an IFRAME?

Microsoft Online Support
Ariel Molina
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top