Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Controls
Message
From
20/05/2003 16:51:03
 
 
To
All
General information
Forum:
ASP.NET
Category:
Other
Title:
Controls
Miscellaneous
Thread ID:
00790750
Message ID:
00790750
Views:
55
This is an extension from my last post "Code behind and include file". Now that I have the code in place, I have to convert my aspx, aspx.vb, and aspx.resx files to ascx. At first I just tried to rename the aspx file. I could tell that it renamed the other files as well, but the page did not work. Below is the error I received. Is there a specific process I need to follow in renaming or creating ascx files. Thanks.
Parser Error 
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately. 

Parser Error Message: The directive 'Page' is unknown.

Source Error: 


Line 1:  <%@ Page CodeBehind="default.ascx.vb" Language="vb" AutoEventWireup="false" Inherits="ESCTest._default" %>
Line 2:  <HTML>
Line 3:  	<HEAD>
 

Source File: c:\inetpub\wwwroot\esctest\default.ascx    Line: 1 
Randy Belcher
AFG Industries, Inc.
Next
Reply
Map
View

Click here to load this message in the networking platform