title: Refresh the page on close of popup window
body: <p>How can I refresh the parent page on close of popup window. The close function is a RadCodeBlock client script. How can I refresh the parent page from the given close function?</p>
  
  <pre><code>&lt;telerik:RadCodeBlock runat="server" ID="rcb1"&gt;
      &lt;script type="text/javascript"&gt;
          function GetRadWindow() {
              var oWindow = null;
              if (window.radWindow)
                  oWindow = window.radWindow;
              else if (window.frameElement.radWindow)
                  oWindow = window.frameElement.radWindow;
              return oWindow;
          }
  
          function Close() {
              var result = window.confirm("Are you sure you want to close the window!");
              if (result == true) {
                  var oWindow = GetRadWindow();
                  oWindow.argument = null;
                  oWindow.close();
                  return false;
              } 
          }
      &lt;/script&gt;
  &lt;/telerik:RadCodeBlock&gt;
  </code></pre>