G
Guest
My form includes a gridview with existing clients.
I use the code below for opening a new window for adding a new client or
updating an existing one.
If (Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType(),
"Client")) Then
Page.ClientScript.RegisterStartupScript(Me.GetType(), "Client",
"window.open(Client.aspx',
'','Height=700px,Width=700px,menubar=No,toolbar=no,scrollbars=yes'); ", True)
End If
On Client form in close button I have the code below:
If (Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType(),
"Window_Close")) Then
Page.ClientScript.RegisterStartupScript(Me.GetType(),
"Window_Close", "window.close();", True)
End If
How can I refresh the first form with all clients for showing the new client ?
I use the code below for opening a new window for adding a new client or
updating an existing one.
If (Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType(),
"Client")) Then
Page.ClientScript.RegisterStartupScript(Me.GetType(), "Client",
"window.open(Client.aspx',
'','Height=700px,Width=700px,menubar=No,toolbar=no,scrollbars=yes'); ", True)
End If
On Client form in close button I have the code below:
If (Not Page.ClientScript.IsStartupScriptRegistered(Me.GetType(),
"Window_Close")) Then
Page.ClientScript.RegisterStartupScript(Me.GetType(),
"Window_Close", "window.close();", True)
End If
How can I refresh the first form with all clients for showing the new client ?