SharePoint 2010 Dev TidBit - Want to create your own dialog?

SharePoint 2010 has a new dialog framework that makes it easy to create a new item in a list. You just need to use JavaScript on an application page

Seen the new dialog framework in SharePoint 2010? You know, when you want to create a new item in a list, a dialog appears. It’s actually real easy to create a new dialog… you just have to get your hands dirty with some JavaScript.

The quickest way to show this is with an application page:

Create Dialog

Create Dialog

When you click the button, poof, you get a dialog!

Create Dialog

Create Dialog

Andrew Connell
Developer & Chief Course Artisan, Voitanos LLC. | Microsoft MVP
Written by Andrew Connell

Andrew Connell is a web & cloud developer with a focus on Microsoft Azure & Microsoft 365. He’s received Microsoft’s MVP award every year since 2005 and has helped thousands of developers through the various courses he’s authored & taught. Andrew’s the founder of Voitanos and is dedicated to helping you be the best Microsoft 365 web & cloud developer. He lives with his wife & two kids in Florida.

Share & Comment