Click to See Complete Forum and Search --> : Web Matrix keeps changing pages


acebartender
October 3rd, 2003, 09:51 AM
This is driving me nuts.

I have a small ASP.NET project that consists of 2 Main .aspx pages. These 2 pages 'include' 3 other .aspx files:
<!--#INCLUDE FILE="inc_ClientData.aspx"-->
<!--#INCLUDE FILE="inc_ProjDataFuncs.aspx"-->
<!--#INCLUDE FILE="inc_ProjUI.aspx"-->

The problem is that when I open any of the 3 include files, Web Matrix keeps inserting the following line at the top of the file:
<%@ Page Language="VB" %> above the
<script runat="server"> line.

Of course when I run the app I get an error and have to reload the page and delete the
<%@ Page Language="VB" %>

I set the "Preferences" "Web Editing" to "Design Mode" "Default View: Source". But this did not help. And as instructed, I closed and reloaded the pages and it still inserts the <%@ Page Language="VB" %>.

Anyone experiencing this?

Thanks