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!
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!