Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > Calling Page.UICulture / Page.Culture from MasterPage code

Reply
Thread Tools

Calling Page.UICulture / Page.Culture from MasterPage code

 
 
Savvoulidis Iordanis
Guest
Posts: n/a
 
      06-29-2009
Can this be done? (and so, automatially use the proper .resx file for a page)

-----------------------------------------------------------------------------
Less Spam Better enjoyable experience
Visit : news://spacesst.com
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      06-30-2009
On Jun 30, 12:14*am, Savvoulidis Iordanis
<(E-Mail Removed)> wrote:
> Can this be done? (and so, automatially use the proper .resx file for a page)
>
> --------------------------------------------------------------------------- --
> Less Spam Better enjoyable experience
> Visit : news://spacesst.com


Set the CurrentUICulture and CurrentCulture properties of the current
thread to the UI culture and culture, respectively.
 
Reply With Quote
 
 
 
 
Alexey Smirnov
Guest
Posts: n/a
 
      06-30-2009
On Jun 30, 12:14*am, Savvoulidis Iordanis
<(E-Mail Removed)> wrote:
> Can this be done? (and so, automatially use the proper .resx file for a page)
>
> --------------------------------------------------------------------------- --
> Less Spam Better enjoyable experience
> Visit : news://spacesst.com


More: http://msdn.microsoft.com/en-us/library/bz9tc508.aspx
http://www.codeproject.com/KB/aspnet/GlobAndLoc.aspx

Note, you can also set UICulture and Culture for the entire site in
the web.config.
 
Reply With Quote
 
 
 
Reply

Thread Tools

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
Changing a control on a masterpage that uses a second masterpage Torben Laursen ASP .Net 4 03-15-2008 03:27 AM
Masterpage change its masterpage mr t ASP .Net 0 08-29-2007 10:11 PM
MasterPages - take plain form, add MasterPage. MasterPage does NOT appear when run Randy Smith ASP .Net 9 04-14-2007 09:06 AM
MasterPage inheriting a MasterPage... is it possible? ThunderMusic ASP .Net 2 09-27-2006 07:57 PM
MasterPage -> Page -> MasterPage Code Access =?Utf-8?B?QWxleCBNYWdoZW4=?= ASP .Net 3 04-14-2006 12:34 PM



Advertisments