Click or drag to resize

CellButtonAttrs Enumeration

Cell attributes specific to Button cells.

Namespace:  NetQuarry.Data
Assembly:  EAP.Core (in EAP.Core.dll) Version: 2.0.0.0 (4.6.8.0)
Syntax
[FlagsAttribute]
public enum CellButtonAttrs
Members
  Member nameValueDescription
ValueEnabled1The button should only be enabled when the field's value is not null, blank, or zero.
ValueHidden2The button should only be visible when field's value is not null, blank, or zero.
AlignLeft4Align button to the left rather than centering it.
ValueAsButtonText8The field's value (rather than its caption) should be used as the button text.
AjaxClick16Use AJAX to fire the FieldButtonClick(IField, EAPEventArgs) event on the server instead of posting the page back.
LockPerMapper32Normally buttons are not locked on existing records if the mapper has DenyUpdate specified. Set this attribute to override that behaviour.
Postback64Perform a postback on a button click even though a ClickScript is specified.
Popup128The results of the click should be displayed in a new popup window.
ValueDisabled256The button should only be enabled when the field's value is null, blank, or zero.
DisabledOnClick512The button should be disabled after being clicked.
Requery1024The FieldButtonClick(IField, EAPEventArgs) handler affects the mapper's underlying table/view and so a post-click requery is needed.
IconButton2048The button should be presented as an icon button (rather than a text button or link).
AjaxClickAndClose4096Use AJAX to fire the button click event on the server, instead of posting the page back, then close the page.
PopupInplace8192The results of the click should be displayed in a new popup inplace div widget.
ProvideLabel16384Provide a label for the button. Normally buttons do not get separate labels.
FieldButtonClickWhenNew32768 Allow the FieldButtonClick(IField, EAPEventArgs) event to be fired on this field even on non-existent (new) records. If not set, FieldButtonClick(IField, EAPEventArgs) events will only fire against existing records. Note that if not on a new row and the existing row is not found you must use ForceFieldButtonClick to get the event.
FieldConfirmEvent65536This field should fire a FieldConfirm event.
ForceFieldButtonClick131072 Force the FieldButtonClick(IField, EAPEventArgs) event to be fired on this field even on non-existent (new) records OR when the expected record is missing. When on a new record you can set FieldButtonClickWhenNew, to get the event, but if the mapper is supposed to be on an existing record and that record is not found then you must set this attribute to force the event.
See Also