hi suresh
thanx for ur reply i have created property named sessionhandler
public static class SessionHandler
{
/// <summary>
/// Culture Session variable
/// Setting the culture for the current session
/// </summary>
#region "Culture"
private static string _Culture = "Culture";
public static string Culture
{
get
{
if (HttpContext.Current.Session[SessionHandler._Culture] == null)
{
return "en_US";
//return "";
}
else
return HttpContext.Current.Session[SessionHandler._Culture].ToString();
}
set
{ HttpContext.Current.Session[SessionHandler._Culture] = value; }
}
#endregion
calling this property on master page langage menu selection
protected void MnuLanguage_Click(object sender, MenuEventArgs e)
{
if (e.Item.Text.Trim() != "Languages")
{
SessionHandler.Culture = e.Item.Value; // MnuLanguage.SelectedValue.ToString();
}
Response.Redirect("~/Webpages/Homepage.aspx");
}
please reply