C# Tutorials and offshore development in India
    Tutorials   Resources   Forum   Reviews   Communities   Interview   Jobs   Projects   Training   Your Ad Here    
Silverlight Games | Mentor | Code Converter | Articles | Code Factory | Computer Jokes | Members | Peer Appraisal | IT Companies | Bookmarks | Polls | Revenue Sharing | Lobby | Gift Shop |


Prizes & Awards
My Profile



Active Members
TodayLast 7 Days more...






Forums » .NET » ASP.NET »

UICulture problem


Posted Date: 03 Nov 2009      Posted By: swasti      Member Level: Bronze     Points: 1   Responses: 2



How to change the UICulture of any web page dynamically? like when we click on the HINDI link the page would display in hindi otherwise in english.





Responses

Author: Danasegarane.A    03 Nov 2009Member Level: DiamondRating: 2 out of 52 out of 5     Points: 2


'Use this Page Load Event
'Create Cultureinfo
Dim EnglishCulture As New System.Globalization.CultureInfo("en-US")
Dim HindiCulture As New System.Globalization.CultureInfo("hi-IN")

'set the Culture
Thread.CurrentThread.CurrentCulture = EnglishCulture

Thread.CurrentThread.CurrentUICulture = EnglishCulture



Thanks and Regards,
Danasegarane Arunachalam



Author: Hari    03 Nov 2009Member Level: GoldRating: 2 out of 52 out of 5     Points: 2

Ho,

Please find attached the code to do that. The solution runs in vs 2008 sp1



WebApplication1.rar
Post Reply
You must Sign In to post a response.
Next : How to display dropdown if one radio button is selected
Previous : Skin File
Return to Discussion Forum
Post New Message
Category: ASP.NET

Related Messages



dotNet Slackers

About Us    Contact Us    Privacy Policy    Terms Of Use