seperating ascx and cs files

S

Salim Afþar

Hi,
By default, code behind files (*.cs) and *.aspx files are located in the
same folder. I want to separate my code behind files to a different folder.
Because my application has to support multilanguage.
So I created a direcory then copy the .cs file to that directory and changed
the .aspx @Page tag like this:
<%@ Page language="c#" src="Codes/WebForm1.aspx.cs" AutoEventWireup="false"
Inherits="WebApplication2.WebForm1" %>

then I get the error:
VS.NET does not support src attribute.

Any help will appreciated kindly.
Thanks a lot.
Salim,
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top