[RESOLVED] VB.net Custom Control Properties
Hi,
Bit new to creating server controls. One thing i'd like to know is how to make property with like a selection menu. For example, if you have a textbox it has a property called "Textmode" and the possible values are either Singleline, Multiline or password and cannot be overridden.
How would i go about achieving something very similar to this in my server control?
Thanks
Re: VB.net Custom Control Properties
Create an enum and make the property of that enum type.
Re: VB.net Custom Control Properties
ah ha, spot on, that has done the trick thanks :thumb:
Re: VB.net Custom Control Properties
Hey,
If your question has been answered, remember to mark your thread as resolved, there are links in my signature that will explain how to do this if you are unsure.
Gary