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
<FlagsAttribute>
Public Enumeration CellButtonAttrs
Members
| Member name | Value | Description |
---|
| ValueEnabled | 1 | The button should only be enabled when the field's value is not null, blank, or zero. |
| ValueHidden | 2 | The button should only be visible when field's value is not null, blank, or zero. |
| AlignLeft | 4 | Align button to the left rather than centering it. |
| ValueAsButtonText | 8 | The field's value (rather than its caption) should be used as the button text. |
| AjaxClick | 16 | Use AJAX to fire the FieldButtonClick(IField, EAPEventArgs) event on the server instead of posting the page back. |
| LockPerMapper | 32 | Normally buttons are not locked on existing records if the mapper has DenyUpdate specified. Set this attribute to override that behaviour. |
| Postback | 64 | Perform a postback on a button click even though a ClickScript is specified. |
| Popup | 128 | The results of the click should be displayed in a new popup window. |
| ValueDisabled | 256 | The button should only be enabled when the field's value is null, blank, or zero. |
| DisabledOnClick | 512 | The button should be disabled after being clicked. |
| Requery | 1024 | The FieldButtonClick(IField, EAPEventArgs) handler affects the mapper's underlying table/view and so a post-click requery is needed. |
| IconButton | 2048 | The button should be presented as an icon button (rather than a text button or link). |
| AjaxClickAndClose | 4096 | Use AJAX to fire the button click event on the server, instead of posting the page back, then close the page. |
| PopupInplace | 8192 | The results of the click should be displayed in a new popup inplace div widget. |
| ProvideLabel | 16384 | Provide a label for the button. Normally buttons do not get separate labels. |
| FieldButtonClickWhenNew | 32768 |
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.
|
| FieldConfirmEvent | 65536 | This field should fire a FieldConfirm event. |
| ForceFieldButtonClick | 131072 |
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