Skip to content

Controls

Controls are the building blocks of a form. You add them from the Toolbox panel of the Form editor and arrange them in the View. Most controls bind to the form's view model, and many can call controller actions.

The Toolbox groups the controls in five categories.

Category Controls
Container Layout, Panel, Table, Bound Table, Pivot Table, Form Group, Tabs, Modal, Container, Repeater
Input Text Box, Dropdown, Date/Time Picker, Check Box, Radio Button, Password Box, Text Area, Rich Text Area
Form Button, Label, Icon, File Attachment, Image, Link, Progress Bar, Menu, Breadcrumb
Data Data List, Pick List, Chart, Data Table, Map, Calendar
Other Partial View, HTML Container, Line Break, Horizontal Line, Horizontal Space

Controls without a link (Pivot Table, Breadcrumb, Data Table, Map and the spacing controls) do not have their own page yet.

Note

Older pages in this section may use the earlier names Tab, Textarea and Data List Dynamic Columns, and the Template container, which the current Toolbox does not list. See the page of each control.

Common ideas

  • Uniform use. Every control is used the same way: it binds to the view model, reads its data from a dataset, and is driven from Mamba through FormControls. This is why a ready-made component saves so much work.
  • Binding. A control shows or edits a value of the view model through its binding, for example Product.Name. Inside a repeater or bound table the binding is relative to the current item.
  • Data sets. Controls that offer a choice, such as a dropdown, read their options from a DataSet.
  • Actions. A button runs a controller action written in Mamba.
  • Patterns. For a plain list of records, use the List control and not a custom layout. See Choose a pattern, don't invent one.