S
SilkCityFlorida
I have a web page "PgA" with a GridView. I open another page "PgB" in a new
window. On PgB, they do some things that affect the underlying data for the
GridView on PgA. When the user is done with PgB, they click a button that
executes this VB:
Protected Sub Close_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Close.Click
'Do some stuff
Response.Write("<script language='javascript'> {
window.close();}</script>")
'What code goes here to force the GridView on PgA to refresh?
End Sub
Now, because some of what they did on PgB has affected the underlying data
for the GridView on PgA, I need to cause the GridView to refresh, without
reloading the entire page.
In VB, what code do I use?
I was able to use this:
opener.window.location=opener.window.location;self.close();
However, that causes the entire page to reload. I only want the GridView to
reload. Within Javascript on the Child page, can I somehow execute a
specific routine on the parent page? The routine contains the code I need to
execute.
window. On PgB, they do some things that affect the underlying data for the
GridView on PgA. When the user is done with PgB, they click a button that
executes this VB:
Protected Sub Close_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Close.Click
'Do some stuff
Response.Write("<script language='javascript'> {
window.close();}</script>")
'What code goes here to force the GridView on PgA to refresh?
End Sub
Now, because some of what they did on PgB has affected the underlying data
for the GridView on PgA, I need to cause the GridView to refresh, without
reloading the entire page.
In VB, what code do I use?
I was able to use this:
opener.window.location=opener.window.location;self.close();
However, that causes the entire page to reload. I only want the GridView to
reload. Within Javascript on the Child page, can I somehow execute a
specific routine on the parent page? The routine contains the code I need to
execute.