Posted on: 3/5/2011 8:39:16 AM | Views : 227

Hi,
I have this code to change the language on a page usign a drop down. The code works pretty good, however, there are two things I would like to improve in it:

1) If you click ANY buttom on the page, the action to change the language is excuted. I can't use the buttom1.Click(...)Handles button.Click because then the rest of the code won't work.

2) This code will be use for everypage of a large website, so I don't want to put it in code behind of all the page, specially since I might want to add/make changes later on. Instead I want to put in a .vb or something in App_Code and call it. But I'm still confuse on how to use the App_Code folder, specially when sending parameters to it. I have read about it 3tier, but I can't get it right. 


On the page:

Go to the complete details ...