IsDlg=0, IsDlg=1 and its Effect on the Vertical Scroll Bar

In SharePoint 2010, you can add a query string parameter “IsDlg” to the URL to hide page’s top and left navigation.

I have noticed a slight, but important different behaviour between when its value is set to 0, and 1.

When set to 1, the vertical horizontal extends only up to the height of page content.

When set to 0, the vertical horizontal extends up to the height of page window, which is what you would probably want to achieve in most cases.

Advertisements

2 thoughts on “IsDlg=0, IsDlg=1 and its Effect on the Vertical Scroll Bar

  1. Actually, passing isdlg with ANY value is doing the trick. As well as passing IsDlg with any value EXCEPT 1 will work.
    ?IsDlg=1 – ​no scrollbars
    ?IsDlg=0, ?IsDlg=whatever, ?isdlg=0, ?isdlg=1, ?isdlg=ilovesharepoint – scrollbars are shown

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s