Ask a Question related to ASP.NET Building Controls, Design and Development.
-
mr dropdown #1
server control with collection
Hello,
I wrote a simple server control from a sample I found on the web in the
following URL: [url]http://west-wind.com/weblog/posts/200.aspx[/url]
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!
mr dropdown Guest
-
Collection Property of Another Custom Server Control
Hi, I read more and figured out how to build what I needed: <cc> <item></item> <item></item> </cc> when <item> is an editable control in... -
server control collection with several types of properties
Is it possible to implement a server control that will look like this: <just:control> <columns> <columnTypeA id=1></columnTypeA> <columnTypeA... -
Web Form Designer deleting collection markup on Custom Server Control
I am trying to implement a custom server control which exposes a collection and uses the ParseChildrenAttribute to populate it from child elements... -
Server Control using a Collection
Ok I am brand new at C#. I am attempting to build a server control that contains a collection. Trouble is when I place my control on my page and... -
Server Control Collection Properties Solutions,Problems MVP Advice Requested
I have solved most of my Server Control Collection property issues. I wrote an HTML page that describes all of the problems that I have encountered... -
Mike MacMillan #2
Re: server control with collection
mr. dropdown,
you don't need the custom namespace notation in the html if you are
using your own controlBuilders(ie, parsing custom html tags). see my
post to your previous message here:
[url]http://groups.google.com/group/microsoft.public.dotnet.framework.aspnet.buildingc ontrols/browse_thread/thread/b849e716c697def2/5d299093bc9ba228#5d299093bc9ba228[/url]
let me know if you're having issues getting things to work.
Mike MacMillan
mr dropdown wrote:> Hello,
>
> I wrote a simple server control from a sample I found on the web in the
> following URL: [url]http://west-wind.com/weblog/posts/200.aspx[/url]
>
> 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!Mike MacMillan Guest



Reply With Quote

