MessagePop Properties |
The MessagePop type exposes the following members.
Name | Description | |
---|---|---|
Button1Caption |
Gets/sets the caption for Button1.
Since Button1 is only shown if its caption is not null/empty and by default Button1Caption
is null/empty, setting its caption non-null/empty has the effect of causing the button to be shown.
Note that there is no inherent handling for Button1 so if Button1 is presented it is expected that
OnButton1Click javascript is provided.
Note that Button2 is also available by setting Button2Caption.
| |
Button2Caption |
Gets/sets the caption for Button2.
Since Button2 is only shown if its caption is not null/empty and by default Button2Caption
is null/empty, setting its caption non-null/empty has the effect of causing the button to be shown.
Note that there is no inherent handling for Button2 so if Button2 is presented it is expected that
OnButton2Click javascript is provided.
Note that Button1 is also available by setting Button1Caption.
| |
Cancel |
Forces the Cancel selection for the user. When this is set, the popup will not be
displayed and the action associated with the Cancel button will be invoked.
| |
CancelCaption |
Gets/sets the caption for the Cancel button.
| |
Caption |
Gets/sets the message box caption.
If no caption is provide the caption portion of the popup is hidden.
| |
CssClass |
Gets/sets any additional CSS class(es) to be added to the message box popup.
| |
HTML |
Gets/sets the HTML content to be injected into the content portion of the popup.
You can use Message if you want a simple confirmation message (without having to worry about escaping the content for use in HTML).
| |
Message |
Gets/sets a simple message for the popup. The message will be escaped for HTML use.
If you want a message with HTML formatting, or more complex HTML content, use HTML to provide
the popup content.
Remarks
When used in a FieldConfirm event, the Message will be pre-populated
with the field's Confirmation text.
| |
NoCancel |
Suppresses the OK cancel.
| |
NoOK |
Suppresses the OK button.
| |
OK |
Forces the OK selection for the user. When this is set, the popup will not be
displayed and the action associated with the OK button will be invoked.
| |
OKCaption |
Gets/sets the caption for the OK button.
| |
OnButton1Click |
Gets/sets javascript to be added to the Button1 click handler.
Ignored unless Button1Caption is set to cause the button to be shown.
| |
OnButton2Click |
Gets/sets javascript to be added to the Button2 click handler.
Ignored unless Button2Caption is set to cause the button to be shown.
| |
OnCancelClick |
Gets/sets additional javascript to be added to the Cancel button click handler.
This does not replace the standard Cancel handling.
By default the Cancel button closes the popup and stops any further action.
Typically no additional click handling is required for the Cancel button and there is therefore, generally,
no need to set this property.
| |
OnOKClick |
Gets/sets additional javascript to be added to the OK button click handler.
This does not replace the standard OK handling.
By default the OK button closes the popup and proceeds with the action specified when invoked.
In the case of a FieldConfirm the result is to continue with the action (e.g. posting the page).
Typically no additional click handling is required for the OK button and there is therefore, generally,
no need to set this property.
|