control inherited from Panel doesn't generate end tag

  • Thread starter Daniel vom Saal
  • Start date
D

Daniel vom Saal

I have a control that is inherited from Panel that is very, very simple: it
merely adds some attributes in the New() function. However, it doesn't seem
to be generating the end tag (</div>) where expected. Basically the page
contains

<cc1:CustomPanel id=cp1 runat=server>
< other tags >
</other tags >
</cc1:CustomPanel>

and I expected

</div id=cp1 style="the custom attributes">
<other tags>
</other tags>
</div>

but I never get the closing </div> tag (the opening tag generated
perfectly).

Am I missing something simple?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,139
Messages
2,570,805
Members
47,352
Latest member
DianeKulik

Latest Threads

Top