Edit in seperate view cleaner solution

1 posts, 0 answers
  1. Chrys
    Chrys avatar
    45 posts
    Member since:
    Feb 2013

    Posted 11 Jun 2013 Link to this post

    I'm trying to do the edit for a grid in separate view. The reason I need to accomplish this is because the information is too large for a modal. Right now this is how I'm moving to the new view.

    grid.bind("edit", function (e) {
                    grid.cancelChanges();
                    window.location = '@Url.Action("AddEditCoalition","InputData",new{coalitionId=Model.CoalitionId})' + '&formId=' + e.model.Id;
    }
    Is there a cleaner way to do this becuase I little bit of the modal does popup intialy before changin to a new view.
Back to Top