Nov 27, 2014, 9:35 AM
[CLOSED] Portal Items Default Style
How to set default style for items placed inside Portal?I want to set a style for all item inside the portal,maybe labelwidth,field width label align etc.
X.Portal().Border(false).BodyStyle("background-color:#D3E1F2").Layout(LayoutType.HBox)
.Items
(
X.ComboBox()
.ID("BranchID")
.FieldLabel("Branch")
.AnchorHorizontal("100%")
.LabelAlign(LabelAlign.Left)
,
X.ComboBox()
.ID("cmbDepartment")
.FieldLabel("Department")
.AnchorHorizontal("100%")
,
X.ComboBox().ID("PaygroupID")
.Editable(false)
.FieldLabel("Pay group")
.AnchorHorizontal("100%")
.LabelAlign(LabelAlign.Left)
)
Last edited by Daniil; Dec 03, 2014 at 2:16 PM.
Reason: [CLOSED]