0

I have installed Visual Studio power tools so that i can add Visual Web Parts. This all works fine, i can deploy Visual Web Parts etc.

I now want to create a UserControl in my solution which i can reuse in my Visual Web Parts, pages etc.

How do i do this?

I have tried adding a UserControl to the solution but this causes a build failure (something about control templates in sandboxed solution)

1

Application pages, user controls (.ascx files), and localization resource (.resx) files cannot be deployed with a sandboxed solution.

Learn more about restrictions on Sandbox solutions

| improve this answer | |
  • 1
    A small remark on this is that user controls are allowed in SharePoint 2013 Visual Web Parts – Eric Herlitz May 12 '14 at 15:52

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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