Adding page methods in VS2008 IDE

B

BillAtWork

Hi,
I'm sure I'm missing something simple but....

Is there an "intellisense" (or similar) way of adding standard method
signatures to an ASP.NET page when I'm coding in the VS2008 IDE.

e.g. if I want to add:

protected override void OnPreRender( EventArgs e ) {
...
}

....then do I have to look up the signature and params and type it all in?!?
Or is there a way of adding these through classview, etc.?

Thanks!
 
G

gerry

in the code for the Page(...) class type in "overide " ( note the trailing
space ) and you will get a list of overidable members of the Page class,
select the one you want and hit enter
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top