---
title: "Refresh parent page webgrid on window close in MVC."  
description: "Refresh parent page webgrid on window close in MVC."  
author: "SAROJINI MISHRA"  
published: 2017-11-18  
updated: 2017-11-18  
canonical: https://www.mindstick.com/forum/34365/refresh-parent-page-webgrid-on-window-close-in-mvc  
category: "c#"  
tags: ["mvc"]  
reading_time: 1 minute  

---

# Refresh parent page webgrid on window close in MVC.

I am a new bee in MVC. I have created a sample in which i took one [webgrid](https://www.mindstick.com/forum/34092/how-to-implement-a-webgrid-in-asp-dot-net-mvc) and a button. On [button click](https://www.mindstick.com/forum/790/form-gets-submiited-twice-on-button-click) i opened a [window](https://www.mindstick.com/forum/161285/how-does-the-window-console-object-work-in-javascript) . On window after [filling](https://yourviews.mindstick.com/audio/1303/the-power-of-silence-what-happens-when-you-stop-filling-every-moment) all the [controls](https://www.mindstick.com/articles/66/how-to-create-controls-at-run-time-in-csharp-dot-net) i submit those [data](https://www.mindstick.com/articles/13050/salesforce-aiming-to-dominate-predictive-analytics-with-data-science) into [database](https://www.mindstick.com/articles/12226/use-of-database-in-sencha-extjs-and-insert-record-from-user-form-using-ajax) and [close](https://yourviews.mindstick.com/story/1687/rubbing-hands-close-up-benefits) the window.

Now i want that when window get closed at that moment webgrid should get refreshed.

Kindly share sample of code accordingly. It will be very helpful.

\


---

Original Source: https://www.mindstick.com/forum/34365/refresh-parent-page-webgrid-on-window-close-in-mvc

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
