Invoking Dialogs in Master Pages

Chapter 14, “Extending Content Pages with Media and Dialogs,” shows you how to leverage the SharePoint 2010 dialog framework in content pages to launch pages and forms in dialogs. In this section, you see how you can further leverage the dialog framework by integrating dialogs with your custom master pages.

The first example shows you how to replicate the same functionality that was used in Chapter 14 when embedding dialog scripts in content pages. However, in this case, the dialog script is embedded into the site’s master page and can be called from any content page associated with that master page. You create a custom list named Contact Us and add the link to the list’s newform.aspx form into the banner of the ...

Get Microsoft® SharePoint® Designer 2010 Unleashed now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.