Code Behind pages in VS C# 2005

M

milkyway

Hello,

In the class that I was in, double clicking on the .aspx page (in D
esign mode)would open a file for the .aspx.cs page. However, when I do
a double click in VS C# 2005 on the .aspx page, I get the following
inserted into my .aspx page

--------------------------------------------------------------

<script runat="server">

protected void Page_Load(object sender, EventArgs e)

{

}

</script>


----------------------------------------------------------------

In other words, I am not taken to the .aspx.cs page so I can edit it.

What gives?

TIA
 
M

milkyway

Basically, when creating my .aspx page, there was a popup that has a
checkbox with "Place code in separate file".

When I check this, then the codebehind pages are created in the
..aspx.cs (since I am using C Sharp) files and not as part of the .aspx
file itself
 

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