ASP.NET Internationalization bug?
- From: "Lee C." <nomail@xxxxxxxx>
- Date: Thu, 26 Jun 2008 23:15:15 -0400
I think I have discovered a bug in ASP.NET, related to I18N.
In ASP.NET 3.5 I have to set runat="server" on the html element to use
explicit expressions. It appears that ASP.NET eats the xml:lang attribute
on the html element when it is set to runat="server".
Of course I want to replace the hardcoded "en-US" values with (resource)
explicit expressions; but, for simplicity, try this:
<html runat="server" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en-US"
lang="en-US" dir="ltr">
....And you will find that no xml:lang attribute is rendered to the browser!
Remove the runat="server", and, voila, the xml:lang attribute is rendered.
:[
....Any ideas?
Cordially,
Lee
.
- Follow-Ups:
- Re: ASP.NET Internationalization bug?
- From: Cowboy \(Gregory A. Beamer\)
- Re: ASP.NET Internationalization bug?
- From: Lee C.
- Re: ASP.NET Internationalization bug?
- From: Juan T. Llibre
- Re: ASP.NET Internationalization bug?
- Prev by Date: Re: Change __VIEWSTATE to something else
- Next by Date: Re: debugging an application with a webservice
- Previous by thread: Template websites?
- Next by thread: Re: ASP.NET Internationalization bug?
- Index(es):
Relevant Pages
|