473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 software developers and data experts.

Trigger an event on a different frame

Hi,

I'm writing a C# asp.net web application.

I have a frameset in which the upper frame contains a "print" button and the
lower frame contains content of a different domain. Since i cannot call
window.print() in another domain, i'm trying to trigger an event in my lower
frame that will call window.print() itself...
How can i do that?

How can i call an event on another frame in my application?

Thanks,

Dana
Nov 18 '05 #1
3 2065
Hi,

use
parent.<name of lower frame>.window.print();
Biju

"dana lees" <da***@idc.ac.il> wrote in message
news:eY**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm writing a C# asp.net web application.

I have a frameset in which the upper frame contains a "print" button and the lower frame contains content of a different domain. Since i cannot call
window.print() in another domain, i'm trying to trigger an event in my lower frame that will call window.print() itself...
How can i do that?

How can i call an event on another frame in my application?

Thanks,

Dana

Nov 18 '05 #2

Thanks,

I am doing this but because the lower frame is in a different domain i get a
"permission denied" error...
That's why i'm trying to call an event in the lower frame that will call
window.print()...

Dana
"Biju" <bi****@eostek.com> wrote in message
news:O3*************@tk2msftngp13.phx.gbl...
Hi,

use
parent.<name of lower frame>.window.print();
Biju

"dana lees" <da***@idc.ac.il> wrote in message
news:eY**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm writing a C# asp.net web application.

I have a frameset in which the upper frame contains a "print" button and

the
lower frame contains content of a different domain. Since i cannot call
window.print() in another domain, i'm trying to trigger an event in my

lower
frame that will call window.print() itself...
How can i do that?

How can i call an event on another frame in my application?

Thanks,

Dana


Nov 18 '05 #3
Hi,

Pretty difficult....
http://msdn.microsoft.com/library/de.../sec_dhtml.asp

You could rip the content of the page with server/client code & display as
yer own and print at will... hmm :-)

--
Best Regards
Vidar Petursson
==============================
Microsoft Visual: Scripting MVP 2000-2004
http://www.icysoft.com/
http://www.deus-x.com/ Instant e-commerce
http://www.microsoft.com/technet/scriptcenter/
Playground: http://213.190.104.211/ ( IE 5.5+ only )

No matter where you go there you are
==============================
"dana lees" <da***@idc.ac.il> wrote in message
news:eY**************@TK2MSFTNGP09.phx.gbl...
Hi,

I'm writing a C# asp.net web application.

I have a frameset in which the upper frame contains a "print" button and
the
lower frame contains content of a different domain. Since i cannot call
window.print() in another domain, i'm trying to trigger an event in my
lower
frame that will call window.print() itself...
How can i do that?

How can i call an event on another frame in my application?

Thanks,

Dana

Nov 18 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

3
by: Lo?c Mah? | last post by:
Hello I try to use a Validator for a TxtCtrl placed in a Panel with a Button in order to trigger the Validator and test the content of TxtCtrl. I have looked into wxPython documentation and...
7
by: Aidan Whitehall | last post by:
Have gone through BOL and Google, but can't find the answer... please help with a simple Q. I'm trying to create a simple cascade delete trigger in SQL Server 7 where deleting "parent" records in...
1
by: Robert Karlsson | last post by:
Hi, Situation Frameset with two frames. ------------------ top navigation ------------------ main content ------------------
0
by: BlueMonkMN | last post by:
I've been trying to think of the right way to design relationships between objects with different desired lifetimes that raise events. If an event source is a relatively permanent object and the...
6
by: Mary | last post by:
We are developing a DB2 V7 z/OS application which uses a "trigger" table containing numerous triggers - each of which is activated by an UPDATE to a different column of this "trigger" table. When...
8
by: Frank van Vugt | last post by:
Hi, If during a transaction a number of deferred triggers are fired, what will be their execution order upon the commit? Will they be executed in order of firing or alfabetically or...
6
by: pronerd | last post by:
Hi, I am trying to dynamically set an event handler across frames. I have no problems setting properties across frames doing something like parent.ToolMenuFrame.location.href =...
0
by: wugon.net | last post by:
Hi , Anyone know how to monitor db2 trigger activity ? We suffer some trigger issue today and we try to monitor trigger's behavior use event monitor and db2audit, but both tools can not get...
3
by: lee.walczak | last post by:
Hi, I have just started writing a GUI using wxpython after finding a limitation using Tkinter. I have read most tutorials on wxpython and slowly becoming accustomed considering I started with...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.