Solved

LCID in ASP.net web forms

Posted on 2011-03-10
1
570 Views
Last Modified: 2012-05-11
In Classic ASP I could set a session.LCID like this;

'Set the server locale
 Session.LCID = 1034 'Spainish - Spain

This would render all numbers, and dates etc en Spanish format.

I am building a small asp.net application (.net 4.0)  with web forms, but have a host in the USA whilte the web application is for Spain. How can I set the LCID globally for this site.

Please remember I am a beginner ;-)

Kind regards

A.
0
Comment
Question by:Abiel de Groot
1 Comment
 
LVL 52

Accepted Solution

by:
Carl Tawn earned 500 total points
ID: 35096665
The same line of code is still valid in ASP.Net. No change needed :)
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Lots of people ask this question on how to extend the “MembershipProvider” to make use of custom authentication like using existing database or make use of some other way of authentication. Many blogs show you how to extend the membership provider c…
This article discusses the ASP.NET AJAX ModalPopupExtender control. In this article we will show how to use the ModalPopupExtender control, how to display/show/call the ASP.NET AJAX ModalPopupExtender control from javascript, how to show/display/cal…
With Secure Portal Encryption, the recipient is sent a link to their email address directing them to the email laundry delivery page. From there, the recipient will be required to enter a user name and password to enter the page. Once the recipient …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

828 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question