views:

7

answers:

0

I have a web application that I am having issues with. The schema of the web application is that there are main files and sub files within sub folders. I compile the application and deploy to the webserver, which does not carry the .cs files over. When I use CodeBehind, custom user controls on the sub-files are not being found.

Error: Element 'program_list' in not a know element.

the Page directive of an example problem file is:

<%@ Page Language="C#" AutoEventWireup="true" MasterPageFile="~/MasterNew.master" CodeBehind="~/programs/programs.aspx" Inherits="IPAM.Website.programs.programs" %>

How can I deploy my website without the .CS files but still have it compile properly and deploy?