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.










Comments

Popular posts from this blog

Breaking down document locking in SharePoint

Working around X-Frame-Options for iframes

Document ID not being generated