Mark Rae skrev:
"Morten Nørgaard" <mn****************@uni-c.dkwrote in message
news:f4**********@news.net.uni-c.dk...
>... but I'm told all sorts of page errors.
Like what...?
There's no point telling a technical newsgroup that you get "all sorts
of page errors" if you don't actually say what those errors are...
Mark,
touché. The reason I didn't give the error messages is in that my
VS.NET 2005 is a Danish version and I got stumped trying to translate
the Danish message into English ones. As far as I could tell they
weren't related to the error, giving me quite ridiculous possibles. But
if you'd care to invest the one minute it'd take you to create the page
in VS.NET yourselves, I'd be very grateful indeed. The code-behind is this:
using System;
namespace test
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
}
}
}
.... and the page looks like this:
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs"
Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server"><title="fdsaf" /></head>
<body <form id="form1" runat="server"></form</body>
</html>
That's really all there is to it. But won't compile... :-(
/Morten