Compiler Error Message: BC30451: Name 'changelang' is not declared.

S

selena

I have created 2 ASP pages that gives users the option of switching
back and forth between French and English. They click on the word
English and it converted the text to English and the French link
converts the text to French. In the ASP page with the form on it there
is an includes file pointing to the scripts page. The scripts page
holds the values for both languages. It works great in ASP but as soon
as I rename the page to a .aspx file I get this error "Compiler Error
Message: BC30451: Name 'changelang' is not declared.". I do not
understand why I the ASP page works and the ASPX page will not work. It
is the exact same code, the only difference is the page extension name.
I found something today that mentioned that ASP does not support
runat="server". The only problem with that is I need the runat="server"
because all my form fields are server side.

Does anyone know the reasoning for this or no a way around this?
 
S

selena

I know they are completely different languages but I thought the
languages could be mixed together? They can't?
 

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,776
Messages
2,569,603
Members
45,188
Latest member
Crypto TaxSoftware

Latest Threads

Top