Custom Control derived from DropDownList

Commodus2

Member
Joined
Mar 5, 2003
Messages
15
Hi there,

I have a problem with SelectBoxes. the drop down area is too small. Enlarging the whole object is not the solution. I want to keep the selectbox small and the dropdown area bigger.

I work on a C#.NET app and I want die override the RenderControl method of DropDownList. In this way I hope that I manage to render the drop downarea with divs so that I can make this area larger then the box itself.

How do I override this function?
Can i override only this function and leave the rest intact?

I never made an custom control before.

Hope someone knows the answer.
Thanks
 
Back
Top