0

I have this line for the Default.aspx file:

Page Title="Home" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Default.aspx.cs" Inherits="MYPROJECTWEB._Default"

and the source (behind) code seems to recognise the specified .aspx file without throwing exceptions.

How is the correct syntax in the case I have to specify a file inside a folder in the project (in this case 'Occasions.aspx.cs')? The following seem not to work ((:

Page Title="Occasioni" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Occasions.aspx.cs" Inherits="MYPROJECTWEB.Application_Occasions"

Page Title="Occasioni" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Occasions.aspx.cs" Inherits="MYPROJECTWEB_Application_Occasions"

What is the subtle trick? )) Thanks

Community
  • 1
  • 1
Luf
  • 63
  • 1
  • 2
  • 11

0 Answers0