problem with set new url in window

2 posts, 0 answers
  1. vladimir
    vladimir avatar
    4 posts
    Member since:
    Oct 2014

    Posted 31 Oct 2014 Link to this post

    I load window:
              .Title("Step One - Choose vendors for unassigned work").Modal(true).Visible(false).Height(480).Width(870)
              .LoadContentFrom("ChooseVendors", "WorkOrders", new { inspectionId = @Model.Id }))                   //this url №1

    then loaded new content refresh window:

                    url: "@Url.Action("CreateWorkOrder", "WorkOrders", new {inspectionId = @Model.Id})",  //this url №2
                    type: "GET"

    after the close of the page and I need the user to re-open the page I download content by url №1, I need to reset the url to the original state. Advice please.
  2. Daniel
    Daniel avatar
    2231 posts

    Posted 04 Nov 2014 Link to this post


    You can call the refresh method without passing the URL in order to reload the initial content e.g.
        url: "@Url.Action("CreateWorkOrder", "WorkOrders", new {inspectionId = @Model.Id})"//this url №2
        type: "GET"
"close", function () {

    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top