Documentation > CMS Template API Library > Input > EndDropDownContainer()
EndDropDownContainer
Closes the drop down container. Will throw an error if called without first calling StartDropDownContainer.
public System.Void EndDropDownContainer()
Code Example
C#
Sample:
Dictionary<string, string> dropDownRows = new Dictionary<string, string>() {{"internal label", "internal_link" }, { "external Label", "external_link" }}; Input.StartDropDownContainer("Link Type", "link_type", dropDownRows, firstRowLabel: "none"); ShowAcquireParams aParams = new ShowAcquireParams(); aParams.ShowBrowse = RelationshipType.Link; Input.ShowAcquireDocument("Internal Link", "internal_link", aParams); Input.NextDropDownContainer(); Input.ShowTextBox("External Link", "external_link", "", 50); Input.EndDropDownContainer();