C# Class SitecoreExtension.ChildlistField.UI.AddChildElement

Dialog for adding a new child element (available templates are those set in the insertOptions field on the parent)
Inheritance: DialogForm
Mostrar archivo Open project: 1508/SitecoreExtension-ChildlistField

Protected Properties

Property Type Description
ElementName Edit
TemplateList Listview

Public Methods

Method Description
AddChildElement ( ) : System

Initializes a new instance of the AddChildElement class.

Protected Methods

Method Description
BindListview ( ) : void

Populates the listview with the available templates

OnLoad ( EventArgs e ) : void

Initiates the various properties and populates the listview

OnOK ( object sender, EventArgs args ) : void

Creates a new child if a proper template has been selected

Method Details

AddChildElement() public method

Initializes a new instance of the AddChildElement class.
public AddChildElement ( ) : System
return System

BindListview() protected method

Populates the listview with the available templates
protected BindListview ( ) : void
return void

OnLoad() protected method

Initiates the various properties and populates the listview
protected OnLoad ( EventArgs e ) : void
e System.EventArgs
return void

OnOK() protected method

Creates a new child if a proper template has been selected
protected OnOK ( object sender, EventArgs args ) : void
sender object
args System.EventArgs
return void

Property Details

ElementName protected_oe property

Field Element
protected Edit ElementName
return Edit

TemplateList protected_oe property

Field Element
protected Listview TemplateList
return Listview