Archive

Posts Tagged ‘SP.UI.ModalDialog’

SP.UI.ModalDialog.showModalDialog with margin and notification

November 16, 2012 Leave a comment

If you ever add HTML to a SharePoint modal dialog box you might notice that adding a left-margin is also necessary. Remember, the HTML option uses DOM not a string.

Style margin Property
Get the code

Adding SP.UI.ModalDialog.showModalDialog to a content editor webpart
 Client Object Model: SP.UI.ModalDialog.showModalDialog(options)
Opening a hyperlink in a dialog box in SharePoint 2010

Advertisement

Client Object Model: SP.UI.ModalDialog.showModalDialog(options)

October 12, 2012 Leave a comment

SharePoint 2010 has introduced a client object model. Now you can use JavaScript to access SharePoint data. Visit MSDN to have a look at the JavaScript API
http://msdn.microsoft.com/en-us/library/ee538253.aspx

 

%d bloggers like this: