Serializing properties as structured markup

T

Tom McDonnell

I've been working on a control, and have been looking at ways of
serializing one of it's properties as markup within it's tags when coded
in a .aspx document. The property returns a collection, the objects in
the collection have the same property, returning a collection of child
objects for it. I have looked at the ParseChildrenAttribute and
ControlBuilder classes, but they do not seem to offer the abilities I
require.

What I want to be able to do is code something like this on the page to
declaratively add objects to the collection. Does anyone have any
suggestions? Thanks.

....
<ns:mycontrol ...>
<something ...>
<something ...>
<something ... />
<something ... />
</something>
<something ... />
<something ...>
<something ... />
</something>
</something>
</ns:mycontrol>
....
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top