1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Window Popup Control

Window Popup Control

2 posts, 0 answered
  1. sweety
    sweety avatar
    28 posts
    Registered:
    28 Jun 2010
    06 Jul 2010
    Link to this post
    Dear reader

    How to use the window popup control in sitefinity.Please help me???
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    12 Sep 2017
    06 Jul 2010
    Link to this post
    Hello sweety,

    You can use RadWindow control inside a user or custom control

    <script type="text/javascript">
     
            function openNewWindow() {
            var windowURL = document.getElementById("Text1").value;
            var oWnd = radopen("http://" + windowURL, null);
            oWnd.center();
        }
     
    </script>
     
    <telerik:RadWindowManager Behaviors="Close, Move, Resize,Maximize"  ID="RadWindowManager" DestroyOnClose="true" RestrictionZoneID="RestrictionZone" runat="server">
        <Windows>
             <telerik:RadWindow ID="RadWindow2" Title="test" runat="server">
             </telerik:RadWindow>
        </Windows>
      </telerik:RadWindowManager>
    <input  type="text" id="Text1" style="width: 130px" value="www.telerik.com"  />
    <input type="button" style="width: 50px" id="openBtn" onclick="openNewWindow(); return false;" title="Open" value="Open" />


    All the best,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
2 posts, 0 answered