Very Simple Custom Web Control

  • Thread starter Thread starter shapper
  • Start date Start date
S

shapper

Hello,

I need to create a really simple web control which would rend as
follows:
<div class="spacer">&nbsp;</div>

Just this. Could somebody help me out?

Thanks,
Miguel
 
shapper said:
Hello,

I need to create a really simple web control which would rend as
follows:
<div class="spacer">&nbsp;</div>

Just this. Could somebody help me out?

Thanks,
Miguel

Hi,

Add A class Library Project...
make a class inharited from system.ui.web.webcontrols.webcontrol

override the render funtion...
generate what ever you want...

for more information please visit
http://msdn2.microsoft.com/en-us/library/yhzc935f.aspx

Thanks

Masudur
Kaz Software Ltd.
www.kaz.com.bd
 

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

Similar Threads


Back
Top