alex440
alex440

Reputation: 1657

ASP.NET: cannot find [name].designer.aspx.cs in VS2010

maybe it's a dumb question,

how can i see the designer generated codebehind files (named .designer.aspx.cs) in VS2010?

i need it to wireup form events when i disable autowireup option at @form.

Upvotes: 1

Views: 1240

Answers (3)

Raj Kaimal
Raj Kaimal

Reputation: 8304

You have created a website. Websites don't have designer files. If you create a web application,

File - New Project - Web - ASP.NET Web Application

you will see the designer files.

Upvotes: 1

alex440
alex440

Reputation: 1657

i can't see the second file like in the previous answer - only the regular .cs file.

see the screenshot

http://www.freeimagehosting.net/uploads/74de60f240.png

i can't post images inline till i get 10 points - sorry for link.

Upvotes: 0

RPM1984
RPM1984

Reputation: 73102

Next to the file, there is an arrow which you can expand to see the code-behind and designer files.

See here:

alt text http://www.freeimagehosting.net/uploads/62bba0f898.png

Upvotes: 0

Related Questions