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?
Start Free Trial