Home » Documentation » WebFormMenu

WebFormMenu

Allows for easy creation of HTML drop down controls.

Constructors

Name Description
Constructor  Initializes a new instance of the WebFormMenu class.
Arguments:
(void)
(Name, Size, SelectMultiple)

Methods

Name Description
AddAttribute  Adds an attribute to the 'select' tag portion of the drop down.
Arguments:
(Name, Value)
AddOption  Adds an 'option' tag to this instance.
Arguments:
(Label, Value)
(Label, Value, Custom)
AddOptionGroup  Adds an group option tag to the list menu.
Arguments:
(Label)
(Label, Custom)
AddSelectedValue  Adds a the selected attribute to the 'option' tags that have the same value as the specified string argument.
Arguments:
(Value)
GetOptionTags  Returns markup representing the 'option' tags for this instance.
ToString  Returns a string representation of the drop down.

Properties

Name Description
Attributes  Stores all attribute names and values for this instance.
Name  Gets and sets the value used for the 'name' attribute for this instance.
Options  Stores all the option tags for this instance.
SelectedValues  Gets and Sets a StringCollection containing all the selected option values.
SelectMultiple  Gets and sets a boolean value that represents whether the 'multiple' attribute will be present.
Size  Gets and sets the value used for the 'size' attribute for this instance.
Are you a robot?
Your Email:
Create a Username:
Create a Password:
Forgot Password?
Validate Text: Captcha