Question : Content page load vs event on master page.

I added a linkbutton on my masterpage to change the language for my website. When i press the linkbutton it changes a session variable. The next step would be, what ever content page loads needs to use this variable to set the language for any text in their body. But the content page load event fires before the master page's linkbutton click event.

Does anyone have an idea on how to accomplish the desired effect?

Thanks in advance,

MA

Answer : Content page load vs event on master page.

Generally this is handled by multiple language sub-folders on the site then when the user selects the language that subfolder is used:

http://www.mysite.com/en/
http://www.mysite.com/fr/

et cetera

ASP.NET has themes which could be customized per language and flipped in or out on the fly.  I've written multi-language applications that dynamically load different resource DLLs with ALL my strings in the DLL's instead of in code.
Random Solutions  
 
programming4us programming4us