Ask a Question related to ASP.NET General, Design and Development.
-
Lloyd Dupont #1
where to define my custom control schema & collection property... (2 questions)
1.
I have define A custom web control with, let's say, a property called
Content, when I use it like that:
<lloyd:MyControl runat=server>
<Content>some content</Content>
</lloyd:MyControl>
VS.NET says 'the active schema doesn't support Content' and underline my tag
with a red winding line
although it compiles and runs fine.
I wonder, how could I create a schema and where should I put it for VS.NET
to recognize it ?
2.
Also I try to have a collection property (like <MyItems></MyItems> meant to
contain many <Item />) and while it work well if MyItems is of Type
ArrayList I was unsuccessfull so far at using typed collection, any clues ?
Lloyd Dupont Guest
-
Collection Property in web custom control
Hi all, I'm building a custom control. I would like that on the control you can set some 'rights' For that I have an enum: public enum... -
Custom Control - Collection Property
Hey gang. I am taking the task of trying to learn how to write custom web controls. I have started with inheriting from the VS 2005 default which... -
Nested Collection property in a custom control
I have the extactly the same problem.. I am creating a control where a collection property is exposed which has a nested collection object. It... -
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... -
Custom Control nad Collection property
I have a collection-property on my control. I Add the items through a collection editor, and items tags appears. <bugge:Control>...



Reply With Quote

