November Happy Hour will be moved to Thursday December 5th.

Class Select1

An input control that is equivalent to either a html select or radio buttons depending on the value of Appearence.

Inheritance
System.Object
Select1
Implements
System.Web.UI.IPostBackDataHandler
System.Web.UI.INamingContainer
Namespace: EPiServer.XForms.WebControls
Assembly: EPiServer.XForms.dll
Version: 9.12.2
Syntax
public class Select1 : SelectControl, IPostBackDataHandler, INamingContainer

Constructors

Select1()

Declaration
public Select1()

Properties

Appearence

A property that is usd to determine how the control should be rendered. When set to RenderType.Minimal the control will be rendered as a html select and when set to RenderType.Full to html radio buttons.

Declaration
public RenderType Appearence { get; set; }
Property Value
Type Description
RenderType

RenderType.Minimal is default value.

Remarks

Will default to RenderType.Minimal.

RegexMatchString

A string representation of a regular expression that is used when converting html to xform controls.

Declaration
public static string RegexMatchString { get; }
Property Value
Type Description
System.String
Remarks

This is built from the values of RegexMatchStringRadio and RegexMatchStringDropdown.

RegexMatchStringDropdown

A string representation of a regular expression that is used when converting html to xform controls.

Declaration
public static string RegexMatchStringDropdown { get; }
Property Value
Type Description
System.String

RegexMatchStringRadio

A string representation of a regular expression that is used when converting html to xform controls.

Declaration
public static string RegexMatchStringRadio { get; }
Property Value
Type Description
System.String

Methods

Render(HtmlTextWriter)

Declaration
protected override void Render(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderID(HtmlTextWriter)

Declaration
public override void RenderID(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
Overrides

RenderLabel(HtmlTextWriter)

Declaration
public override void RenderLabel(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
Overrides

RenderRadioButtons(HtmlTextWriter)

Declaration
protected virtual void RenderRadioButtons(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderSelect(HtmlTextWriter)

Declaration
protected virtual void RenderSelect(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer

RenderValue(HtmlTextWriter)

Declaration
public override void RenderValue(HtmlTextWriter writer)
Parameters
Type Name Description
System.Web.UI.HtmlTextWriter writer
Overrides

ReplaceHTML(Match)

Used when converting html to XForm controls.

Declaration
public static string ReplaceHTML(Match m)
Parameters
Type Name Description
System.Text.RegularExpressions.Match m

A Match from an regular expression evaluation.

Returns
Type Description
System.String

A string representing an XForm control.

Implements

System.Web.UI.IPostBackDataHandler
System.Web.UI.INamingContainer

Extension Methods