Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > How to disable resize of a RadWindow from JavaScript
RadControls for ASP.NET are no longer supported (see this page for reference). In case you have inquiries about the Telerik ASP.NET AJAX controls, post them in the pertinent ASP.NET AJAX forums.

Not answered How to disable resize of a RadWindow from JavaScript

Feed from this thread
  • Hai avatar

    Posted on Jun 2, 2011 (permalink)

    I have a button with the following JavaScript attached to it:

     function ShowEditForm(id, rowIndex) {
                var oWnd = window.radopen("CheckInformation.aspx?paymentid=" + id, "Cash Application");
                oWnd.SetWidth(916);
                oWnd.SetHeight(726);
                oWnd.Behavior = "Close, Move"; // does not work
                oWnd.set_status("Payment Match");
                return false;
            }

    Basically I want to launch a pop-up window but I do not want user to resize that window. I thought setting only "Close" and "Move" should disable the resize but it doesn't.

  • Posted on Jun 3, 2011 (permalink)

    Hello Hai,

    You can set the RadWindow behavior from client side like below.

    Javascript:
    oWnd.set_behaviors(Telerik.Web.UI.WindowBehaviors.Move + Telerik.Web.UI.WindowBehaviors.Close)

    Thanks,
    Shinu.

Back to Top

Skip Navigation LinksHome / Community & Support / Developer Productivity Tools Forums / ASP.NET > Window > How to disable resize of a RadWindow from JavaScript