I have got same Modal Dialog on Sharepoint 2010. If I tried to migrate to Sharepoint 2013 I must download SP.UI.Dialog.js How Could I do it ?


1 Answer 1


I managed this by this two line of code:

<asp:Content ID="PageHead" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">

<input style="margin-left:155px;" id="Button2" type="button" value="Zamknij okno dialogowe"  onclick="SP.UI.ModalDialog.commonModalDialogClose(1, 'Ok clicked'); return false;" />

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.