0

追加ボタンとグリッドのあるページがあるとします。Grid いくつかのデータが含まれています。Add Button をクリックすると、新しいポップアップウィンドウが開きます。ポップアップ ウィンドウには、グリッドに新しい値を追加するためのテキスト ボックスとボタンが含まれています。私の質問は、ポップアップウィンドウにいくつかの値を追加した後にグリッドビューを自動的にロードする方法ですか?

ポップアップ ウィンドウのコード:

protected void btnAdd_Click(object sender, EventArgs e)
{
  ClientScript.RegisterStartupScript(this.GetType(), "newWindow", String.Format("<script>window.open('{0}','','width=550,height=300,left=500');</script>", "PopupADD.aspx"));
} 
4

1 に答える 1

0

次の手順を実行します..

1.Design a window to add data to gridview inside a div.
2.Show the div as popup using Javascript.
3.Bind the gridview when you click some button(like ok) in that popup window.
于 2013-03-14T09:33:19.420 に答える