Sorry kats9993. Actually i was wrongly written BasePage.asps.cs
That is BasePage.cs a class file which inherits Page class and keep the cs file in the App_Code folder.
All the child pages must inherit the basepage class inorder to maintain the selected language.
For more details refer the below article.