asp.net button

Mercypoint

Weaksauce
Joined
Oct 22, 2005
Messages
74
Hi,
I have two button in a master page that will allow users to toggle between English and Spanish version for the site. The language variable is stored in a session variable that on a page load, it will take that and load the correct language.
Issue here is that I have some data that I need to store at the viewstate level. How to I change the session variable (post back to the master page) and refresh the content page without doing a response.redirect?

Basically, I need to set the session variable and then do a "click page refresh" action.

Any ideas?
 
Thanks...

I read the difference between Server.Transfer and Response.Redirect. From a quick test, Server.Transfer also seem like it would loose the viewstate data once the server fetch the page.

One thought, is there a way for a code behind from a master page to call a content panel's page onload function?
 
Back
Top