private void MenuItemClickHandler(object sender, WebMenuItemClickEventArgs e) { var bocList = (BocList)sender; var command = e.Item.ItemID + "|" + e.Item.Text; TestOutput.SetActionPerformed(bocList.ID, -1, "ListMenuOrOptionsClick", command); }
private void CustomCellClickHandler(object sender, BocCustomCellClickEventArgs bocCustomCellClickEventArgs) { var bocList = (BocList)sender; var cell = bocCustomCellClickEventArgs.Column.ItemID + "|" + bocCustomCellClickEventArgs.Column.ColumnTitleDisplayValue; TestOutput.SetActionPerformed(bocList.ID, -1, "CustomCellClick", cell); }
private void SortingOrderChangedHandler(object sender, BocListSortingOrderChangeEventArgs bocListSortingOrderChangeEventArgs) { var bocList = (BocList)sender; TestOutput.SetActionPerformed( bocList.ID, -1, "SortingOrderChanged", string.Join(", ", bocListSortingOrderChangeEventArgs.NewSortingOrder.Select(nso => nso.Column.ItemID + "-" + nso.Direction.ToString())) ); }
private void ListItemCommandClickHandler(object sender, BocListItemCommandClickEventArgs bocListItemCommandClickEventArgs) { var bocList = (BocList)sender; var cell = bocListItemCommandClickEventArgs.Column.ItemID; TestOutput.SetActionPerformed( bocList.ID, bocListItemCommandClickEventArgs.ListIndex, "CellCommandClick", cell); }
protected override void OnRowMenuItemEventCommandClick(WebMenuItem menuItem, IBusinessObject businessObject, int listIndex) { var command = menuItem.ItemID + "|" + menuItem.Text; TestOutput.SetActionPerformed(ID, listIndex, "RowContextMenuClick", command); }
private void EditableRowChangedSavedHandler(object sender, BocListItemEventArgs bocListItemEventArgs) { var bocList = (BocList)sender; TestOutput.SetActionPerformed(bocList.ID, bocListItemEventArgs.ListIndex, "InLineEdit", "Saved"); }
private void MenuItemClickHandler(object sender, WebMenuItemClickEventArgs e) { TestOutput.SetActionPerformed("MenuItemClick", e.Item.ItemID + "|" + e.Item.Text, e.Command.OwnerControl.ID); }
private void PartnerField_CommandClick(object sender, BocCommandClickEventArgs e) { TestOutput.SetActionPerformed("CommandClick", "", e.Command.OwnerControl.ID); }
public override void OnMenuItemEventCommandClick(WebMenuItem menuItem, WebTreeNode node) { base.OnMenuItemEventCommandClick(menuItem, node); TestOutput.SetActionPerformed(node.TreeView.ID, "NodeContextMenuClick", node.ItemID + "|" + node.Text); }