Skip to main content
added screenshot
Source Link
Anders Rask
  • 17.9k
  • 3
  • 39
  • 71

Visual Web part basically does the same as solution 1, as it loads a user control in CreateChildControls (the exception is a Sandboxed visual web part, where the codebehind for the usercontrol inherits from webpart).

Since user controls doesnt show up in CONTROLTEMPLATES: did you remember to set the added user controls as DeploymentType: TemplateFile?

enter image description here

Visual Web part basically does the same as solution 1, as it loads a user control in CreateChildControls (the exception is a Sandboxed visual web part, where the codebehind for the usercontrol inherits from webpart).

Since user controls doesnt show up in CONTROLTEMPLATES: did you remember to set the added user controls as DeploymentType: TemplateFile?

Visual Web part basically does the same as solution 1, as it loads a user control in CreateChildControls (the exception is a Sandboxed visual web part, where the codebehind for the usercontrol inherits from webpart).

Since user controls doesnt show up in CONTROLTEMPLATES: did you remember to set the added user controls as DeploymentType: TemplateFile?

enter image description here

Source Link
Anders Rask
  • 17.9k
  • 3
  • 39
  • 71

Visual Web part basically does the same as solution 1, as it loads a user control in CreateChildControls (the exception is a Sandboxed visual web part, where the codebehind for the usercontrol inherits from webpart).

Since user controls doesnt show up in CONTROLTEMPLATES: did you remember to set the added user controls as DeploymentType: TemplateFile?