P
PEK
I know how to create and use user controls, by I find them sometimes to
limited. I sometimes want to creating something like this:
<test:mycontrol runat="server">
<p>Some text</p>
</test:mycontrol>
I also want to do something like this:
<test:mymenu runat="server">
<test:mymenuitem>Item 1</test:mymenuitem>
<test:mymenuitem>Item 2</test:mymenuitem>
<test:mymenuitem>Item 3</test:mymenuitem>
<test:mymenuitem>Item 4</test:mymenuitem>
</test:mymeny>
But when I tries do that in a control a gets an error message like
"Literal content ('xyz') is not allowed within a
'ASP.thecontrol_ascx'". Is it possible to solve this problem?
PEK
limited. I sometimes want to creating something like this:
<test:mycontrol runat="server">
<p>Some text</p>
</test:mycontrol>
I also want to do something like this:
<test:mymenu runat="server">
<test:mymenuitem>Item 1</test:mymenuitem>
<test:mymenuitem>Item 2</test:mymenuitem>
<test:mymenuitem>Item 3</test:mymenuitem>
<test:mymenuitem>Item 4</test:mymenuitem>
</test:mymeny>
But when I tries do that in a control a gets an error message like
"Literal content ('xyz') is not allowed within a
'ASP.thecontrol_ascx'". Is it possible to solve this problem?
PEK