extending web controls

J

JJ

I am trying to create custom controls that extend some of the functionality
of web controls (and sets default values if that control is used). For
example, if i were to use the textbox control, it should always use certain
font, size etc. I know I can do this by creating web control library
project. Now do I have to create web control library project for each
control that I want to create? So if I want custom lable, custom
dropdownlist, custom textbox, I have to create 3 web control projects?

Thanks
 
S

senfo

JJ said:
I am trying to create custom controls that extend some of the functionality
of web controls (and sets default values if that control is used). For
example, if i were to use the textbox control, it should always use certain
font, size etc. I know I can do this by creating web control library
project. Now do I have to create web control library project for each
control that I want to create? So if I want custom lable, custom
dropdownlist, custom textbox, I have to create 3 web control projects?

The things you have mentioned are better accomplished using CSS. Have
you looked into this?

Hope that helps,
 

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,769
Messages
2,569,579
Members
45,053
Latest member
BrodieSola

Latest Threads

Top