Very Simple Custom Web Control

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
 
M

Masudur

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

Members online

Forum statistics

Threads
473,786
Messages
2,569,626
Members
45,324
Latest member
ChristenCo

Latest Threads

Top