How to open RadWindow witout any postback (Need Urgently)

1 posts, 0 answers
  1. Manish
    Manish avatar
    64 posts
    Member since:
    Jul 2011

    Posted 18 Oct 2011 Link to this post


    This code is not working

    <script type="text/javascript">
        /* Using radopen */
        function ShowExisting1() {
            //Show an existing window
            window.radopen(null, "RadWindow1");
            //First argument is the URL. Since no url is provided, the NavigateUrl property set on the server will be used.
        /* Using */
        function ShowExisting2() {
            //Call existing global function to obtain a reference to the window manager
            var oManager = GetRadWindowManager();
            //Show a particular existing window
  , "RadWindow2");
        // using
        function ShowExisting3() {
            var oWnd = $find("RadWindow1");
        /* Show new window */
        function ShowNewWindow() {
            //Show new window
            //not providing a name as a second parameter
            // creates a new window
            var oWindow = window.radopen("", null);
            //Using the reference to the window its clientside methods can be called
            oWindow.setSize(400, 400);
        <form id="form1" runat="server">
        <telerik:RadScriptManager runat="server" ID="rcm"></telerik:RadScriptManager>
          <telerik:RadWindowManager ID="RadWindowManager1" runat="server">
            <telerik:RadWindow ID="RadWindow1" runat="server" NavigateUrl="">
            <telerik:RadWindow ID="RadWindow2" runat="server" NavigateUrl="">
    the client-side code for opening windows

            <button onclick="ShowExisting1();return false;" class="Button" style="width: 190px" id="btnclick" runat="server">
        Show window (using radopen)</button>
    call the various client-side functions

    <button onclick="ShowExisting2();return false;" class="Button" style="width: 190px" >
        Show window (using open)</button>
    <button onclick="ShowExisting3();return false;" class="Button" style="width: 190px">
        Show window (using show)</button>
    <button onclick="ShowNewWindow();return false;" class="Button" style="width: 190px">
        Show new window</button>

    Please provide some useful links.

Back to Top