I just created a ASP.NET 2.0 Web Project with one page
Below is the entire codebehind. This still does'nt work in IE. I'm baffled.
using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;
namespace WebApplication3
{
public partial class _Default : System.Web.UI.Page
{
protected void Page_Load(object sender, EventArgs e)
{
string message = "This is a test.";
ClientScript.RegisterStartupScript(typeof(Page), "alert",
"<script language=JavaScript>alert('" + message + "');</script>");
}
}
}
"Mark Rae" wrote:
"C" <C@discussions.microsoft.comwrote in message
news:09**********************************@microsof t.com...
I have no idea why it works in FireFox(v1.5.0.5) and not IE6.
Works fine for me in both browsers...