asp.net/c# ページに単純なgridview
コントロールがあります。これを使用しようとした行の削除で「削除成功」を表示するメッセージを表示したいのですが、効果がありません。
私のコードはこれです..
script = string.Format(@"<script type='text/javascript'>alert('Successfully deleted');</script>");
if (Page != null && !Page.ClientScript.IsClientScriptBlockRegistered("alert"))
{
Page.ClientScript.RegisterClientScriptBlock(Page.GetType(), "alert", script);
}
誰でも私を助けてくれませんか、私はこれが初めてです..
Thaks
-Vishu