Last post Jun 14, 2013 07:20 AM by cassini12
Mar 03, 2010 09:50 AM|ozatmaca|LINK
I've used 3 languages on my site and I’ve also put 3 Image Buttons.
The language image button that you click will allow that language to be seen on the site. What should I write for that command btn (btn1_command event)
but when I cllick language button, culture should change for all pages for only current user.
other users can use different culture.
how can I
Mar 03, 2010 11:20 PM|Tapan Bhatt|LINK
Please go through my below post:
I hope it will helpful to solve your problem. Please let me know if you still find the same problem.
Mar 04, 2010 03:58 AM|Das.Sandeep|LINK
You can pass value in querystring, it will work for you. I have created sample for same. Please go through hope it will help. Please let me know if you need more info.
Mar 04, 2010 10:42 AM|ozatmaca|LINK
thanks for answers.
I tried initializeculture mehtod. but this method is changing culture for only current page.
I must write all pages this code .
I want , when I click language button , change culture all pages. I don't want to write all pages initializeculture method.
Is this possible.
can I create class file. and Can I use this class like initializeculture method and Can I add masterpage this class.
is this possible.
or other method???
Note : I think using session for selected culture (when clicked image button)
Mar 04, 2010 11:54 AM|Das.Sandeep|LINK
Create base page drived from System.Web.UI.Page named as BaseBage. and InitializeCulture i am setting in base page and all pages I am driving from BasePage instead of System.Web.UI.Page, so there is no need to write this method for each page.
Hope you understood what I mean.
Mar 04, 2010 02:18 PM|ozatmaca|LINK
this good idea. thanks thanks thanks :).
Jun 14, 2013 07:20 AM|cassini12|LINK
But if i'm creating a Web Application , the class from App_Code folder does not compile, and also in Web Application the App_Code folder is absent , i can create it mannually but it not acts like in a website....
any sugestions ?