473,473 Members | 1,974 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

not override onload

Hi,

I'm programming in asp.net. I have controls in pages and pages in
masterpages.
I would like to use onLoad event when control/page/masterpage is loading.

How to add page load event in page to _not_ override onLoad event of master
page ?

I can use jQuery.

Thanks for help

Oct 29 '08 #1
3 2740
On Oct 28, 9:52*pm, <ambroz...@poczta.onet.plwrote:
Hi,

I'm programming in asp.net. I have controls in pages and pages in
Rearranging code more likely.
masterpages.
I would like to use onLoad event when control/page/masterpage is loading.

How to add page load event in page to _not_ override onLoad event of master
page ?
Who knows? Ask in an ASP.NET group.
>
I can use jQuery.
I knew it.
>
Thanks for help
You are going to need it.
Oct 29 '08 #2
On 2008-10-29 02:52, am*******@poczta.onet.pl wrote:
I have controls in pages and pages in masterpages. I would like to
use onLoad event when control/page/masterpage is loading.

How to add page load event in page to _not_ override onLoad event of
master page ?
I have no idea what you're talking about, but you can attach several
handlers to an event ("load" in this case) with addEventListener() or
attachEvent(). I'm sure JQuery provides a cross-browser interface for that.
- Conrad
Oct 29 '08 #3
On Oct 28, 11:21*pm, Conrad Lender <crlen...@yahoo.comwrote:
On 2008-10-29 02:52, ambroz...@poczta.onet.pl wrote:
I have controls in pages and pages in masterpages. I would like to
use onLoad event when control/page/masterpage is loading.
How to add page load event in page to _not_ override onLoad event of
master page ?

I have no idea what you're talking about, but you can attach several
handlers to an event ("load" in this case) with addEventListener() or
attachEvent(). I'm sure JQuery provides a cross-browser interface for that.
Of course it does. And like everything else in jQuery, it relies on
browser sniffing and is outrageously inefficient. You stopped a
sentence too late.
Oct 29 '08 #4

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

Similar topics

2
by: | last post by:
Sorry, I mixed up the code- reposting with correct example now :) I'm trying to better understand the use of inheritance vs. the implementation of a handler. I wanted to ask this question to the...
3
by: Tee | last post by:
Hi, I have a usercontrol with a overridable/virtual method. On the usercontrol onload, it will call this method. Now I have a form that have a few of this usercontrol. And I want to override...
4
by: Pai | last post by:
hello there, I am trying to rersize the window it works find in IE but doea not work with mozilla window.attachEvent(onload,MWSOnLoad); window.onload = function (MWSOnLoad) { alert('hello');...
6
by: Brian | last post by:
Hi everyone, I'm writing a function (in javascript) that needs to do one thing if the page has not loaded, and another (different) thing if the page has already loaded. I'm looking for a way...
4
by: David Virgil Hobbs | last post by:
My web host inserts banner ads into my html pages. The javascript in these banner ads interferes with the onload triggered javascript functions in my pages. Whether I trigger my javascript...
2
by: laredotornado | last post by:
Hello, I am looking for a cross-browser way (Firefox 1+, IE 5.5+) to have my Javascript function execute from the BODY's "onload" method, but if there is already an onload method defined, I would...
8
by: Phil Jollans | last post by:
Hi, I am having difficulty overriding the ToString() method of CultureInfo using Visual Studio 2005. Exactly the same code works fine with Visual Studio .NET 2003. What I am doing is adding...
8
by: kirkox | last post by:
Hi guys, this is my first post here and I am a newbie, of course. My question is simple...I'd like to override toString() function such that it can works on Object. I have something like that...
20
by: Mark Anderson | last post by:
Hi, I have this in an external JS library: ///////////////////////// function addMyEvent(){ var obj; if(document.attachEvent) { obj = document.getElementsByTagName('img'); for...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
muto222
php
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.