P
Peter Zolja
Hi,
I'm trying to build a custom control that doesn't have a closing tag. For
example, right now when I create a control from the IDE I get this:
<cc1:MyControl runat="server" ID="SomeId"></cc1:MyControl>
I'd like it to be:
<cc1:MyControl runat="server" ID="SomeId" />
This control won't have any content, so I'm trying to make the definition
shorter. I know it can be done because ImageButton does this; the question
is how?
Thanks.
I'm trying to build a custom control that doesn't have a closing tag. For
example, right now when I create a control from the IDE I get this:
<cc1:MyControl runat="server" ID="SomeId"></cc1:MyControl>
I'd like it to be:
<cc1:MyControl runat="server" ID="SomeId" />
This control won't have any content, so I'm trying to make the definition
shorter. I know it can be done because ImageButton does this; the question
is how?
Thanks.