I have a list webpart on a custom page, and I have the Open in Dialog enabled.

How would I go about intercepting the standard SP modal call in order to pass a height value? My modal window is way bigger than it needs to be!

thank you!

  • Can you share a screenshot of what is happening to understand the question easily ?
    – Arvi
    Feb 14, 2017 at 0:52

1 Answer 1


I was able to find it, somehow had not found this thread previously:

Increase width for form modal dialog

I made a tweak to make it adjust height, not width. I also did not need the piece of CSS he adds separately. Not sure why.

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.