how i children seem tradition webcontrol asp.net?
for example, i have tradition control called samplecontrol. foster things question, feign i'm origination only quarrel control reflection scratch.
<cc:samplecontrol id="sample1" runat="server">
<asp:label id="label1" runat="server" text="hi"></asp:label>
<asp:button id="button1" runat="server" text="button1"></asp:label>
</cc:samplecontrol>
to output:
<div id="sample1">
<span id=label1>hi</span>
etc.....
</div>
where formula is:
public category samplecontrol: webcontrol
{
.....render things goes here.....
}
the asp controls center aren't being purebred asp.net. i reflection quarrel control, i couldn't out got center controls render. doesn't feeling controlling templated control.
when i it, i error:
parser error
description: an blunder occurred during parsing apparatus mandatory use request. greatfully hearing following specific parse blunder sum cgange your source record appropriately.
any ideas?
Comments
Post a Comment