Whole Tomato Software Forums
Whole Tomato Software Forums
Main Site | Profile | Register | Active Topics | Members | Search | FAQ
User name:
Password:
Save Password
Forgot your password?

 All Forums
 Visual Assist
 Technical Support
 VAX 1237: coloring C# in .aspx files
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

Uniwares
Tomato Guru

Portugal
2321 Posts

Posted - May 19 2004 :  11:18:00 AM  Show Profile
I'm not sure if this is supposed to work or if that is a feature which is not supported by VAX: given a .aspx file which contains C# code, the C# code is not syntax colored, none of the editing enhancements of VAX work.
On the other hand, the same .aspx page containing javascript or vbscript is recognized properly by VAX.

sample:
<%@ Import Namespace="System.Data.SqlClient" %>
<%@ Import Namespace="System.Data" %>
<%@ Page Language="C#" %>

<HTML>
	<HEAD>
		<TITLE>Login</TITLE>
		<SCRIPT runat="server" Language="C#">
public void somfunc()
{
  int a = 1; // comment
}
		</SCRIPT>
		<SCRIPT Language="javascript">
function somfunc()
{
  var a = 1; // comment
}
		</SCRIPT>
	</HEAD>
	<BODY>
	</BODY>
</HTML>

support
Whole Tomato Software

5566 Posts

Posted - May 20 2004 :  12:09:41 PM  Show Profile
Your assessment is correct and your suggestion is reasonable.

case=84

Whole Tomato Software, Inc.
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
© 2023 Whole Tomato Software, LLC Go To Top Of Page
Snitz Forums 2000