troubleshooting Question

How can I pass controls and content through into a user control in vb ASP.NET?

Avatar of dgloveruk
dgloveruk asked on
ASP.NET* user controlsVB Script
1 Comment1 Solution6 ViewsLast Modified:
I have a user control that is essentially dressing for page content.  It arranges a heading and content dropping it into placeholders within the controls markup.
e.g in the page using the control I want to have :
<uc1:UcPresentation runat="server" ID="UcPresentation1">
<Heading>
--various controls/content--
</Heading>
<Content>
--various controls/content--
</Content>
</uc1:UcPresentation>

Does anybody have an example of how to do this? I am struggling to find a VB example...
I found https://docs.microsoft.com/en-us/previous-versions/aspnet/36574bf6(v=vs.100) but these seems to go a lot further and make a series of templates and I could not see what to extract to make this into the much simpler requirement I have of just passing content through into placeholders.
Thanks,
ASKER CERTIFIED SOLUTION
dgloveruk

Our community of experts have been thoroughly vetted for their expertise and industry experience.

Join our community to see this answer!
Unlock 1 Answer and 1 Comment.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 1 Comment.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros