Ok, so I'm stuck doing some work with Visual Studio 2003 (why cant they just support 1.1 in 2005 ?) and a few weeks back I had to add some client script code to the page from a web control.

Easy, I’ll just use Page.RegisterClientScriptBlock, right ? Wrong! much to my surprise Visual Studio’s Intellisense doesn't trigger, so I must be doing something wrong?

To make a long story short, I got around it by rendering the script tags as HtmlGenericControls and that worked…however today I had to do a change to the control that involved registering a startup script that would run as soon as the page did.

Now, I checked MSDN and sure enough, there is a Page.RegisterStartupScript method I can use. But as before…it didn't show up using intellisense. So now I was starting to get a bit pissed and got the idea to fiddle around with my options.

And sure enough Tools —> Options —> Text Editor —> C#  and un-check hide advanced members and everything works.

Now WHY on earth did I have to go through that.

At least it seems like Visual Studio 2005 have it unchecked by default.