|
it
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Compiler Error Message: BC30451: Name 'changelang' is not declared.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? because ASP and ASP.NET (.ASPX) are two completely different animals with
completely different languages, interperted by completly different DLL's. What made you think a .ASP could be renamed to .ASPX and still work? -- Show quoteHide quoteCurt Christianson Site & Scripts: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com <sel***@selenabil.com> wrote in message news:1111604172.757884.55900@o13g2000cwo.googlegroups.com... >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? > I know they are completely different languages but I thought the
languages could be mixed together? They can't? no.
they use different DLL's in IIS to interpret them. They can not be mixed. -- Show quoteHide quoteCurt Christianson Site & Scripts: http://www.Darkfalz.com Blog: http://blog.Darkfalz.com <sel***@selenabil.com> wrote in message news:1111605253.211301.173520@l41g2000cwc.googlegroups.com... >I know they are completely different languages but I thought the > languages could be mixed together? They can't? >
Generate a table with ASP
Please help with cmd.execute select SQL? sql problem with sub queries Saving and display of records in asp page beginning tutorial for exporting data from ASP to Excel An error occured in ASP page how to use SSL with asp/vbscript string Truncated error How to use different sites in IIS on WinXP Pro Query LDAP with ASP |
|||||||||||||||||||||||