Custom Control

S

shapper

Hello,

I am creating a custom control and inheriting from web control.
However I need to write the complete HTML code that the control
outputs.
It has no child controls. Just pure HTML code.

Should I now inherit my custom control from web control and inherit it
from control.
And if yes, what are the function I need to override to do this?
I am trying to get rid of the begin and end tags that ASP.NET uses to
wrap my custom control HTML code.

Could someone point me to some article?

How can I do this?

Thanks,
Miguel
 

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

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,813
Latest member
lawrwtwinkle111

Latest Threads

Top