Click or drag to resize

CountryList Class

Renders a list of countries.
Inheritance Hierarchy
System.Web.UIControl
  Dynamicweb.Controls.OMCCountryList

Namespace:  Dynamicweb.Controls.OMC
Assembly:  Dynamicweb.Controls (in Dynamicweb.Controls.dll) Version: 4.2.3
Syntax
[DefaultPropertyAttribute("SelectedCountry")]
public class CountryList : Control, 
	IPostBackDataHandler

The CountryList type exposes the following members.

Constructors
  NameDescription
Public methodCountryList
Initializes a new instance of an object.
Top
Properties
  NameDescription
Public propertyCssClass
Gets or sets the additional CSS class name to apply.
Public propertyOnClientChange
Gets or sets the callback function that is called whenever list selection changes.
Public propertySelectedCountry
Gets or sets the two-letter ISO code of the selected country.
Top
Methods
  NameDescription
Protected methodGetCountries
Returns a list of all countries that must be rendered.
Public methodStatic memberGetCountry(CultureInfo)
Returns country information for the given culture.
Public methodStatic memberGetCountry(String)
Returns country information by the given country code.
Protected methodGetOnChangeEventHandler
Returns a proper "onclick" event handler.
Public methodLoadPostData
Processes postback data.
Protected methodOnCountryChanged
Raises "CountryChanged" event.
Public methodRaisePostDataChangedEvent
Signals the server control to notify the application that the state of the control has changed.
Protected methodRender
Sender server control content to a provided System.Web.UI.HtmlTextWriter object which writes the content to be rendered on the client.
Top
Events
  NameDescription
Public eventCountryChanged
Occurs when the currently selected country has been changed since the last postback.
Top
Remarks