Moving Update and Cancel button after widen popup editor.

3 posts, 0 answers
  1. CC
    CC avatar
    4 posts
    Member since:
    Feb 2010

    Posted 08 Oct 2013 Link to this post

    I am working with the grid view popup editor using MVC. I was able to widen the Default popup editor Default window to Size 700px. The Update and Cancel button is currently still in the Default location. How is it possible to get them to move.
  2. Alexander Popov
    Admin
    Alexander Popov avatar
    1416 posts

    Posted 09 Oct 2013 Link to this post

    Hello,

    I would recommend using the Grid's edit event to resize the popup Window and it's child
    div elements. Here is an example:   
    $("#grid").kendoGrid({
      edit: function(e){
        e.container.css("width", "800px");
        e.container.find(".k-edit-buttons.k-state-default").css("width", "780px");         
      }, ...

    Regards,
    Alexander Popov
    Telerik
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
  3. UI for ASP.NET MVC is VS 2017 Ready
  4. CC
    CC avatar
    4 posts
    Member since:
    Feb 2010

    Posted 09 Oct 2013 Link to this post

    Thanks Alexander that worked.
Back to Top