Apart from the string issue, I also set the language to HTML (though XML or ASP.NET will work the same) which has improved the colouring. This is ASP.NET, since it includes markup tags.
<script runat="server" language="C#">
public void MyPublicMethod( object sender, EventArgs e )
{
...
}
</script>
This is javascript, because it's actual javascript, not Javascript embedded inside ASP.NET
public void MyPublicMethod( object sender, EventArgs e )
{
...
}
cheers, Chris Maunder The Code Project | Co-founder Microsoft C++ MVP