Dynamically Loading an MVC3 Partial Page with multiple parameters as Content

2 posts, 0 answers
  1. michael
    michael avatar
    5 posts
    Member since:
    Jul 2012

    Posted 02 Aug 2012 Link to this post

    My Popup Issue

            .Title("Rights List")
            .Actions(actions => actions.Close())
    .LoadContentFrom("_DARoleRightsAssignedAllForPopUp", "DataAccess", new { roleId = 4, roleTypeId = 1 })
    The above works just fine upon page load (for basic testing), but I want to call the same controller and action but with various values for the parameters gotten from one column in a grid and upon a button click of another column in the same grid.
    I tried to find an example but could not.
    Help would certainly be appreciated.

  2. loi
    loi avatar
    25 posts
    Member since:
    Feb 2010

    Posted 06 Aug 2012 Link to this post

    I suppose you could use the Kendo window "refresh" function.

    var windowObject = $("#window").data("kendoWindow");
        url: "/feedbackForm",
        data: { userId: 42 }
Back to Top