PC Review


Reply
 
 
beachboy
Guest
Posts: n/a
 
      3rd Apr 2006
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>


 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      3rd Apr 2006
I think you can't.

"beachboy" <(E-Mail Removed)> wrote in message
news:u%(E-Mail Removed)...
> 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>
>
>



 
Reply With Quote
 
=?Utf-8?B?QXJpZiBLaGFu?=
Guest
Posts: n/a
 
      4th Apr 2006
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

"Alexey Smirnov" wrote:

> I think you can't.
>
> "beachboy" <(E-Mail Removed)> wrote in message
> news:u%(E-Mail Removed)...
> > 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>
> >
> >

>
>
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
dll config and web.config and Label Expressions (binding label text to dll config settings) CSharpner Microsoft ASP .NET 0 9th Apr 2007 11:00 PM
DTDs for machine.config, web.config, security.config available ? =?Utf-8?B?UGF1bCBLZW5uZWR5?= Microsoft Dot NET Framework 1 5th Feb 2007 06:42 AM
sharedListeners config in app.config file doesn't recognize customlocation attribute RJ Microsoft Dot NET 0 1st Nov 2006 09:48 PM
using ReadXml to read exe.config file into Grid and update the exe.config using WriteXml hazz Microsoft C# .NET 0 7th Jul 2006 11:32 PM
Configuration Error - c:\winnt\microsoft.net\framework\v1.1.4322\Config\machine.config Ivan Microsoft ASP .NET 1 21st May 2004 06:18 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:28 PM.