Jeffrey Palermo (.com)

Sponsors

The Lounge

Wicked Cool Jobs

News

Advertisement

Images in this post missing? We recently lost them in a site migration. We're working to restore these as you read this. Should you need an image in an emergency, please contact us at imagehelp@codebetter.com
VS 2005 Beta 1 w/ ASP.NET - level 100

One thing that is very important to know about ASP.NET development:  To get intellisense on web controls, you must have the .aspx file open.  Since the code-behind has changed to code-beside, your code file is not a full class but a partial class, so if you have a textbox in your aspx (txtInput), the variable doesn't have to be declared in your code file.  You can just type txtInput.Text = “foo”; in your code file, BUT if you only have the code file open, you won't get intellisense on the TextBox.  To get intellisense for web controls on your web form, open the aspx file.  This threw me for a bit until I figured out this quirk. 


Posted Tue, Sep 7 2004 5:42 AM by Jeffrey Palermo

[Advertisement]

Comments

Jonathan Bindel wrote re: VS 2005 Beta 1 w/ ASP.NET - level 100
on Tue, Sep 7 2004 1:08 PM
Jeffrey, I have no doubts that VS 2005 Beta 1 is filled with bugs, however I didn't experience many and the ones I did weren't anything huge. I just posted on my experience with the beta.
Devlicio.us