this the answer after the Mr/sheKhar help and with my own search
i have two button
one for Arabic and other for English mode
when user click on English button
protected void english_Click(object sender, EventArgs e)
{
string Path = System.Web.HttpContext.Current.Request.Url.AbsolutePath;
System.IO.FileInfo Info = new System.IO.FileInfo(Path);
string pageName = Info.Name;
if (Session["lang"].ToString() == "ar")
{
string enlink = pageName.Substring(0, pageName.Length - 8) + ".aspx";
Session["lang"] = "en";
var page = (Page)HttpContext.Current.CurrentHandler;
string QueryString = page.ClientQueryString;
if (!(string.IsNullOrEmpty(QueryString)))
{
Response.Redirect(enlink + "?" + QueryString);
}
else
{
Response.Redirect(enlink);
}
}
}
and when user click on arabic button
protected void arabic_Click(object sender, EventArgs e)
{
string Path = System.Web.HttpContext.Current.Request.Url.AbsolutePath;
System.IO.FileInfo Info = new System.IO.FileInfo(Path);
string pageName = Info.Name;
if (Session["lang"].ToString() == "en")
{
string arlink= pageName.Substring(0, pageName.Length - 5) + "-ar.aspx";
Session["lang"] = "ar";
//
var page = (Page)HttpContext.Current.CurrentHandler;
string QueryString = page.ClientQueryString; // this code get The Query String
if (!(string.IsNullOrEmpty(QueryString)))
{
Response.Redirect(arlink +"?"+ QueryString);
}
else
{
Response.Redirect(arlink);
}
}
}
wish this code helping someone :)