Küçük bir globalization sorunu. Gridview içinde silme işlemi için client taraflı uyarı ama hem Türkçe hem İngilizce;
protected void GridView1_RowDataBound(object sender, GridViewRowEventArgs e)
{
CultureInfo turkish = new CultureInfo("tr-TR");
CultureInfo thisCulture = Thread.CurrentThread.CurrentCulture;
if (e.Row.RowType == DataControlRowType.DataRow)
{
if (turkish.Name == thisCulture.Name)
(e.Row.FindControl("LinkButton1") as LinkButton).Attributes.Add("onclick", "return confirm('Eleman silinecek ?');");
else
(e.Row.FindControl("LinkButton1") as LinkButton).Attributes.Add("onclick", "return confirm('Item will be deleted ?');");
}
}