473,520 Members | 2,843 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Page Processing Events ques

I have never understood why intellisense doesn't show the available page
processing events (ie Page_Load) for easy inclusion in the code-behind.
Ideas?

The real question: I have master pages and content pages. The Master page
processes the events like "Page_Load()" but the content page only sees the
actual class.functions. Example:
------------------------------------------------------------------------
Partial Public Class DefaultPage
Inherits System.Web.UI.Page

Protected Overrides Sub OnInit(ByVal e As System.EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub

Protected Sub Page_Init(ByVal sender As Object, ByVal e As EventArgs)
AddHandler Me.ctrCustSearch.Customer_Select, AddressOf Customer_Select
End Sub
--------------------------------------------------------------------
In the above code only the OnInit() code executes as teh page is loaded!?!

(PS - I am a C# coder and used a conversion program to generate the code
into VB)
http://labs.developerfusion.co.uk/co...arp-to-vb.aspx

Humbly Yours,
Steve

Dec 5 '07 #1
1 1019
=?Utf-8?B?U3RldmUgVGF5bG9y?= <St*********@discussions.microsoft.com>
wrote in news:D8**********************************@microsof t.com:
I have never understood why intellisense doesn't show the available
page processing events (ie Page_Load) for easy inclusion in the
code-behind. Ideas?
There are two drop down boxes just about the code editor.

Select Page_Events in the left hand one.

In the right hand one you'll be presented with a bunch of events (i.e.
Page_Load, Page_Init, etc.)
In the above code only the OnInit() code executes as teh page is
loaded!?!
There should be a Page_Load event even in content pages.\

--
sp**********@rogers.com (Do not e-mail)
Dec 5 '07 #2

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

Similar topics

4
1745
by: Newbie | last post by:
Is it possible to set up an event handler or something else so that when *any* link on the page is clicked it 'fires-up', executes some JS and then continues to process the link that was clicked? (Without having JS or 'onClick' added to each & every link?) I've looked everywhere but can't find out how, or if it's even possible via...
5
3751
by: Bill Henning | last post by:
Does anyone know a good method of preventing keyboard and mouse events from interrupting processing? My situation is: 1) I need to track and handle all key and mouse events 2) I need to perform processing on certain key/mouse events 3) If key/mouse events interrupt processing, the events should not be discarded since they need to be...
3
1617
by: markeboy | last post by:
I am wanting to control when a page is loaded using a separate class to manage when and how it should be loade My current implementation needs to set a property of the page programatically (through a defined interface on the page) I can create an instance of the code behind class (and interface) that the page inherits and implements,...
3
1499
by: TPS | last post by:
Instead of using Hyperlinks and URL / Response.QueryString() parameters to pass state around in my app, I am using LinkButtons with a corresponding command event and command arguments. This page has LinkButtons in a menu down the left hand side, that when clicked causes the main content of the page to change. The main content of the page...
4
2049
by: Jeremy Holt | last post by:
Hi, In a windows.forms application I would BeginInvoke a delegate on the UI thread to collect data from a database. When the call returns to the AsyncCallback, if the Control.InvokeRequired = True, I would then have the Control.BeginInvoke(New AsyncCallback(AddressOf GetDataCallback), New Object() {ar}). How would one achieve the same...
9
3168
by: Gummy | last post by:
Hello, I created a user control that has a ListBox and a RadioButtonList (and other stuff). The idea is that I put the user control on the ASPX page multiple times and each user control will load with different data (locations, departments, etc.).
10
2913
by: Tim_Mac | last post by:
hi, i would like to display a discreet message on all my pages indicating how long the server took to render the page. full tracing is not an option because it would freak out my non-technical users! i've looked around online and can find nothing to do this, or in the SDK docs. i thought .Net 2.0 would have something more out-of-the-box for...
4
1314
by: TS | last post by:
i have an issue on page load when sometimes I want to quit processing the page, but the other events get called like page_prerender and individual controls' events get fired. i want to not raise any events after this point in page load. how can i do that without doing a request.end? (I don't cant do request.end because it messes up my page...
0
1574
by: Lee | last post by:
I have an activex control built with VS 2005, C#. I have a "Done" event that I fire from the control when some processing is done. I have tested this with a C++ app as the host, and I do get the event. But when I place the control in an Object tag on an ASPX page, and add my event handler in VBScript, I do not get the event. Its like the...
0
7204
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language...
0
7439
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. ...
0
7602
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that...
0
7560
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
1
5127
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
3282
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in...
0
3280
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1646
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 we have to send another system
1
837
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.