Hi, How come my INCLUDE statements are just rpinting on the page as text instead of actually including the file?

<--#INCLUDE VIRTUAL="topnav.htm"-->
<--#INCLUDE VIRTUAL="sidenav.htm"-->

it just prints that as text. I have it in an aspx file.

Example code.

VB Code:
  1. <%@ Page CodeBehind="specialeventinfo.aspx.vb" Language="vb" AutoEventWireup="false" Inherits="OptimaBackEndTest.specialeventinfo" %>
  2. <--#INCLUDE VIRTUAL="topnav.htm"-->
  3. <--#INCLUDE VIRTUAL="sidenav.htm"-->
  4. <script language="JavaScript">
  5. <!--
  6. function Validate(){ //v2.0
  7. if(document.form.txtEventTitle.value == "" || document.form.txtFeatureText.value == ""){
  8. alert("All fields must be filled in.");
  9. }
  10. }
  11.  
  12. function MoveVars() { //v2.0
  13. var title = document.form.txtEventTitle.value;
  14. var info = document.form.txtEventInfo.value;
  15. document.form2.PreTitle.value =title;
  16. document.form2.PreInfo.value  =info;
  17. }
  18. //-->
  19. </script>
  20. <td valign="top">
  21.     <table width="549" height="97" border="0" cellpadding="10" cellspacing="2">
  22.         <tr>

thanks!