Wednesday, August 13, 2014

Popup in sharepoint 2013 with ModalDialog

openDialog: function (id) {
       
        SP.UI.ModalDialog.showModalDialog({
            url: "Edit.aspx?ID=" + id + "&SPHostUrl=" + hostUrl + "&SPAppWebUrl=" + appweburl + "",
            title: "Edit",
            allowMaximize: false,
            showClose: true,
            width: 400,
            height: 200
        });
       
    }

No comments:

Post a Comment