server control with collection

M

mr dropdown

Hello,

I wrote a simple server control from a sample I found on the web in the
following URL: http://west-wind.com/weblog/posts/200.aspx

The control has the following structure:
<myCtl:main>
<Columns>
<ColumnItem id="a"></ColumnItem>
<ColumnItem id="b"></ColumnItem>
</Columns>
</myCtl:main>

The problem is that in the collection method used here requires that the tag
of the collection control (ColumnItem) will also include the tag prefix of
the main control so that structure must look like this:
<myCtl:main>
<Columns>
<myCtl:ColumnItem id="a"></myCtl:ColumnItem>
<myCtl:ColumnItem id="b"></myCtl:ColumnItem>
</Columns>
</myCtl:main>

Is there any way to bypass this annoying thing?

Thanks!
 

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,484
Members
44,903
Latest member
orderPeak8CBDGummies

Latest Threads

Top