Using VS 2008, I recently imported (Add Existing...) an aspx page (and its aspx.vb code-behind) from a Web App project to a Web Site project.
Problem: now, when I double-click on a control on this page, the IDE doesn't open the aspx.vb code-behind. Instead, it does this:
1. Changes to Source view on the aspx file
2. Inserts <script></script> tags near the top of the page's html
3. Creates a stub inside the script tags for the code I'm about to write.
Question: Why doesn't the IDE open the aspx.vb file for editing instead? What establishes the link between the aspx and the aspx.vb?
Here's some code from these files:
ASPX
<%@ Page
Language="vb"
AutoEventWireup="true"
MasterPageFile="~/masters/dwNoClient.master"
CodeBehind="dtxcClient.aspx.vb"
Inherits="dtxcClient"
validat ...
Go to the complete details ...