I was surprised to not found the SPDataSource control in sandboxed solution (I simply want to populate a drop down list).

Did I missed something, or is this actually one the limitation of the sandbox ?

1 Answer 1


According to MSDN, SPDataSource is not available in Sandboxed solutions.

Available in Sandboxed Solutions: No

  • hum... I wonder what is the cause of this decision... moreover, SPD can use SPDataSource, I can't understand why such a limitation. Any suggestion to reach the same result ? (instead of manually populating the DDL )
    – Steve B
    Jul 1, 2011 at 15:48
  • For some reason just about every class in the Microsoft.SharePoint.WebControls namespace is not available in a sandboxed solution.
    – Laurie
    Jul 1, 2011 at 16:17

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.