web.config

B

beachboy

if asp.net application has 2 languages, and i want to set 2 error page for
each language

except split 2 language into 2 applications, any solutions? how can i do
that??

Thanks in advanced.

<customErrors defaultRedirect="errorpage.aspx" mode="RemoteOnly">
<error statusCode="404" redirect="eng/Error404.html" />
</customErrors>
 
G

Guest

can you please clarify on "2 languages". I guess you mean using localization
and having resource files per language. If so, then within any single error
page, you can check current threads UI culture and show corresponding
localized value. ResourceManager class will do this automatically.

Please clarify on "2 language" in case the above answer doesn't fulfill your
needs.

Thanks, Arif
 

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

Top