Kendo window with fixed width and height

4 posts, 0 answers
  1. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 12 May 2014 Link to this post

    Hello ,

    I have Kendo modal window coming up on button click like this

     wnd = $("#Add").kendoWindow({

    title: "test",

    actions: ["Close"],

    content: direction,

    width: "800px",

    height: "600px",

    visible: false,
    Draggable: false,

    modal: true

    }).data("kendoWindow");

    }

    //wnd.refresh(direction);

    wnd.center();
    wnd.resi = false;
    wnd.open();

    How can i stop window from resizing? draggable false do not help

    Anamika
  2. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 12 May 2014 Link to this post

    Hello Anamika,

    As I have already answered your question in the other thread that you created, I will copy my answer here as well:

    You can set both draggable and resizable options to false, so the Kendo UI Window will stay static as in this example:
     


    Regards,
    Kiril Nikolov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. Anamika
    Anamika avatar
    124 posts
    Member since:
    Mar 2014

    Posted 12 May 2014 in reply to Kiril Nikolov Link to this post

    thanks that works
  5. Kiril Nikolov
    Admin
    Kiril Nikolov avatar
    2564 posts

    Posted 12 May 2014 Link to this post

    Hi Anamika,

    I am happy to hear that the example was helpful.

    In case you have any other questions, please do no hesitate to contact us.

    Regards,
    Kiril Nikolov
    Telerik
     

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

     
Back to Top
UI for ASP.NET MVC is VS 2017 Ready