T
ThunderMusic
Hi,
I've already seen this thing in here, but can't find it anymore... What I
need to do is the following :
<test:MyControl>
<test:MySubControl />
<test:MySubControl />
</test:MyControl>
actually 2 questions :
1) How can I do it so when I press < between both <test:MyControl> tags only
<test:MySubControl> appears? right now I can do it with an in between
element using ParseChildren(true) and PersistChildren(true) on the control
class and PersistMode(PersistModes.innerProperty) on the property that
contains the subcontrols...
2) How can I hide <test:MySubControl> from the other context? I mean, I want
it to be visible only when I'm between <test:MyControl> and
</test:MyControl>...
Can it be done? I'm pretty sure it can because 1) aspropDownList does it
and 2) asp:ListItem can only be a subcontrol (to DropDownList as example)
thanks
ThunderMusic
I've already seen this thing in here, but can't find it anymore... What I
need to do is the following :
<test:MyControl>
<test:MySubControl />
<test:MySubControl />
</test:MyControl>
actually 2 questions :
1) How can I do it so when I press < between both <test:MyControl> tags only
<test:MySubControl> appears? right now I can do it with an in between
element using ParseChildren(true) and PersistChildren(true) on the control
class and PersistMode(PersistModes.innerProperty) on the property that
contains the subcontrols...
2) How can I hide <test:MySubControl> from the other context? I mean, I want
it to be visible only when I'm between <test:MyControl> and
</test:MyControl>...
Can it be done? I'm pretty sure it can because 1) aspropDownList does it
and 2) asp:ListItem can only be a subcontrol (to DropDownList as example)
thanks
ThunderMusic