Monday 1 August 2011

Display Close "x" on a custom modal dialog in Sharepoint 2010


"showClose: true"


TIP -  To show the close "X"  icon in the top right corner of the Dialog simple add showClose: true in your options.

example

var options = {
url: 'http://SharepointSite/_layouts/something.aspx',
tite: 'My Dialog page',
allowMaximize: false,
showClose: false,
width: 800,
height: 500,
showClose: true
}

Ads by Google

No comments:

Post a Comment