Open a popup window, no return value

The Telerik RadWindowManager gives you a polished, consistent way to display modal dialogs, pop-up forms, and auxiliary UI without wrestling with raw JavaScript or browser quirks. Most examples focus on simply opening a window, collecting some input, and moving on—but many real-world scenarios need more than a one-way trip. Before we dive into returning values or coordinating actions between the parent page and the pop-up, it’s worth grounding ourselves in how the RadWindowManager actually opens and manages a basic pop-up form. This article starts there, using the standard “open a window with no return value” pattern as our foundation.

 

 

<%@ Page Title="" Language="vb" AutoEventWireup="false" MasterPageFile="~/MasterPage.Master" CodeBehind="Test.aspx.vb" Inherits="Intranet3.Test" %>
<asp:Content ID="Content1" ContentPlaceHolderID="header" runat="server">
    <script type="text/javascript">
        function openWin() {
            var oWnd = radopen("Test2.aspx", "RadWindow1");
        }
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <telerik:RadAjaxPanel runat="server">
 
        <button onclick="openWin(); return false;">Open Dialog</button><br />
 
        <telerik:RadWindowManager ID="RadWindowManager1" ShowContentDuringLoad="false" VisibleStatusbar="false" ReloadOnShow="true" runat="server" EnableShadow="true">
            <Windows>
                <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="Test2.aspx"></telerik:RadWindow>
            </Windows>
        </telerik:RadWindowManager>
    </telerik:RadAjaxPanel>
 
</asp:Content>

 


RealWorldCode gives developers practical, real‑world solutions with clean, working code — no fluff, no theory, just answers.
Links
Home
Knowledge Areas
Sitemap
Contact
Et cetera
Privacy Policy
Terms and Conditions
Cookie Preferences