I have a gridview inside updated panel on parent page which is populated based on some search criteria (in text-boxes and dropdownlists). It has a request status field along with some other fields. There is a button which opens a popup window (Aspx page) where user can select approver and submit request. I’d like to auto refresh gridview (also retaining the search criteria) on parent page with current request status once pop-up window is closed.
I’m using modalWin to open a pop-up page.
Update
I still am looking for an answer. Any help will be appreciated.
Try the following steps to acheive the same:
Popup Page:
asp:button id=”submitButton” runat=”server” text=”Submit” OnClientClick=”window.opener.__doPostBack(‘Search_OnClick’,”);”>
Parent page CodeBehind:
Add the code in Parent
protected void Page_Load(object sender, EventArgs e)
{
this.ClientScript.GetPostBackEventReference(this, string.Empty);
}