Monday, July 2, 2012

SharePoint | Create a dropdown list populated with list items

Problem: Create an html control with data from a SharePoint location (list)

Solution: Add the (dropdownlist) control through the SharePoint Designer design view and associate a new data source to it, by clicking "Items" value, and choosing "Add a new data source".

Tip: The allowintegratedsecurity="true" parameter will keep the page from throwing an exception due to the Integrated Security check from web.config default settings.

No comments:

Post a Comment