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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.