-
advanced user control topic
I’m trying to develop a user control that accepts HTML content and other user
controls within the tags. I have a standard look and feel for a web application
that I’m working on, it basically looks like a Windows form. It has a title
bar with a caption and a frame, but the content varies. I’d like to be able
to do something like:
<MyControls:StandardForm caption=”My Form”>
<asp:input id="blah"></asp:input>
</MyControls:StandardForm>
I get an error when I try to do this. I can’t find ANY example of a user
control with content between the open and close tag. Does anyone know if
a user control can accept content like this? Must I develop a custom server
control for this?
Thanks
Ian Drake
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks