문제

I am using a SharePoint 2013 On Prem Server and want to show a Modal Dialog in an application page.

I use: OpenPopUpPage(url, callback); This way the Dialog sizes to its content and everything is fine. Except when the aspx Page, which is the content of the Dialog, resizes after the dialog has been initialized.

can somebody give me a hint, how to resize the dialog when the content size changes?

best regards Alex

도움이 되었습니까?

해결책

Try to use function SP.UI.ModalDialog.get_childDialog().autoSize() in modal dialog page.

Find more details here.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 sharepoint.stackexchange
scroll top