ASP.NET: list of object_pages through Intellisense? How to find out a signature?

Is there a way to find and insert a page event through intellisense so that I can get a list of available ones and a signature is automatically generated?

I am currently creating page_init, but with no parameters ... unsure if this is correct or not?

Using the controls, you can take a look at Properties and then Events, and you will get a list of all the events.

Any help really appreciated

thanks

+4
source share
1 answer

I usually redefine methods in the base Page class, which ultimately fire events, rather than subscribe to the events themselves. Intellisense helps there, because as soon as you enter override for a new method, VS presents a list of methods that you can override.

The methods used will be called, for example, [Event]; OnLoad() OnInit() OnPreInit() . Just make sure that if you use this method, which always supports calling the base method, that VS will automatically be inserted for you, if you let Intellisense build this method for you.

+1
source

All Articles