473,395 Members | 1,622 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,395 software developers and data experts.

ASP.NET & COMPONENTS

I am developing a component in VS.NET that is going to hosted on an APSX
page. Is there a way I can get a reference to the page from the component.
So I can code against some page events in my component. i.e page_load.

I need to check that a client is online each time the page that hosts the
component loads. I think that this logic should be in my component and not
in the ASPX page as not to bother any web developers with a detail that will
never change.

Thanks in advance

Dave
df*****@hotmail.com

Nov 17 '05 #1
1 854
"O_Hip" <df*****@hotmail.com> wrote in message
news:%2****************@tk2msftngp13.phx.gbl...
I am developing a component in VS.NET that is going to hosted on an APSX
page. Is there a way I can get a reference to the page from the component. So I can code against some page events in my component. i.e page_load.

I need to check that a client is online each time the page that hosts the
component loads. I think that this logic should be in my component and not in the ASPX page as not to bother any web developers with a detail that will never change.


Can you have the page pass you a reference to it during construction or
initialization?
--
John Saunders
Internet Engineer
jo***********@surfcontrol.com
Nov 17 '05 #2

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

Similar topics

3
by: Michael Sparks | last post by:
Hi, I'm posting a link to this since I hope it's of interest to people here :) I've written up the talk I gave at ACCU Python UK on the Kamaelia Framework, and it's been published as a BBC...
4
by: Randy Webb | last post by:
In trying to validate a document as XHTML Strict, and using &lt; and &gt; to display < and >, I get this message from the validator: character "&" is the first character of a delimiter but occurred as...
11
by: BoonHead, The Lost Philosopher | last post by:
I think the .NET framework is great! It's nice, clean and logical; in contradiction to the old Microsoft. It only saddens me that the new Microsoft still doesn't under stand there own...
0
by: david | last post by:
I'm designing a web application - several web forms. I'm using components. I've also considering using modules for the development process too. With a module, I can define some public...
15
by: Geoff Cox | last post by:
Hello, Can I separately declare and initialize a string array? How and where would I do it in the code below? It was created using Visual C++ 2005 Express Beta 2 ... In C# I would have ...
11
by: Mike Towers | last post by:
Hi, The company I work for has a web site (IIS5) build using ASP and COM+ components which are written in VB6 and provide the business and database logic for the site. We would very much like...
4
by: Pete Wittig | last post by:
Hello, I am creating an app using Serviced Components and I am exposing them using the Enterprise Services SOAP service. Here is my problem: I have one COM+ application with several serviced...
1
by: =?Utf-8?B?UmFzaGVlZA==?= | last post by:
We have distributed application built upon .NET 2.0. The business components are exposed as Web Services. Some of the Business Components involves in heavy processing and occupies more RAM. It...
17
by: Ivan K. | last post by:
I am looking at some legacy code, which begins by allocating a double matrix with the dmatrix() function from NRC as follows: double **A, **augin, **augout, **aa; A = dmatrix(1,...
3
by: Noorain | last post by:
I designed a site. i want to header,footer,left & right column fixed but body information only scrolling. this site screen to be 800/600 px. i designed this way but when i used position fixed all...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
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.