|
code
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
extending web controlsI 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 JJ wrote:
> I am trying to create custom controls that extend some of the functionality The things you have mentioned are better accomplished using CSS. Have > 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? you looked into this? Hope that helps, -- Sean
only for expert: what's wrong with this code?
ButtonField and Eval asp.net 2.0 gridview controls - bound or unbound? Enabling Windows Authentication from inside Forms Authentication (ASP.NET 2.0) Javascript and asp.net - TextBox backcolor not changing... Can a repeater's ItemTemplate instantiate derived classes? GridView - ObjectDataSource - Dynamic Columns javascript and navigateurl a bug in BaseValidator.RegisterValidatorCommonScript() implementat Class Menu problems |
|||||||||||||||||||||||