Tag Info

Hot answers tagged

1

Following code worked for me. this.Page.ClientScript.RegisterStartupScript(this.GetType(), "PopupScript", "SP.UI.ModalDialog.commonModalDialogClose(0, 0);", true);


1

Thanks for the answer: i tried no luck. This one worked for me: $.ajax({ url: Url, method: 'GET', beforeSend: function (XMLHttpRequest) { XMLHttpRequest.setRequestHeader("Accept", "application/json; odata=verbose"); }, cache: true, error: function (data) { ////failure ...


1

Are you using any QueryString with ID parameter?? If yes, then change to it something else. Hope this helps :)


1

Change the web part (or whatever) that's rendering the button to include the following javascript into the page: _spOriginalFormAction = document.forms[0].action; _spSuppressFormOnSubmitWrapper=true;



Only top voted, non community-wiki answers of a minimum length are eligible