Skip to content

SAIFMenuTop.ToolBarButton

SAIFMenuTop.ToolBarButton is a nested enum whose values are passed as the argument of the ToolbarClick event, letting the hosting page distinguish which toolbar action icon the user clicked without inspecting control IDs.

Purpose

  • Identifies which toolbar action was invoked when SAIFMenuTop raises its ToolbarClick event, so the host page can route to the corresponding CRUD/print/help/preference handling logic.

Context

  • Namespace: SAIF.Presentation.Web.Controls.V2.Menu (nested within SAIFMenuTop)
  • Assembly/package: SAIF.Presentation.Web.Controls.V2.Menu (packaged within SAIF.BOF.Presentation.Web.Infragistics103)

Public members

Member Signature Purpose
Print Print Passed to ToolbarClick when the Print toolbar icon is clicked, identifying the print action to the host page.
Download Download Passed to ToolbarClick when the Download toolbar icon is clicked, identifying the download action to the host page.
PrefsSet PrefsSet Passed to ToolbarClick when the "Set Preferences" toolbar icon is clicked, identifying the save-preferences action to the host page.
PrefsClear PrefsClear Passed to ToolbarClick when the "Clear Preferences" toolbar icon is clicked, identifying the clear-preferences action to the host page.
Help Help Passed to ToolbarClick when the Help toolbar icon is clicked, identifying the help-display action to the host page.
Insert Insert Passed to ToolbarClick when the Insert toolbar icon is clicked, identifying the create/insert action to the host page.
Save Save Passed to ToolbarClick when the Save toolbar icon is clicked, identifying the save action to the host page.
Submit Submit Passed to ToolbarClick when the Submit toolbar icon is clicked, identifying the submit action to the host page.
Delete Delete Passed to ToolbarClick when the Delete toolbar icon is clicked, identifying the delete action to the host page.
Edit Edit Passed to ToolbarClick when the Edit toolbar icon is clicked, identifying the edit action to the host page.
Cancel Cancel Passed to ToolbarClick when the Cancel toolbar icon is clicked, identifying the cancel action to the host page.
Calculate Calculate Passed to ToolbarClick when the Calculate toolbar icon is clicked, identifying the calculate action to the host page.
Preview Preview Passed to ToolbarClick when the Preview toolbar icon is clicked, identifying the preview action to the host page.
Email Email Passed to ToolbarClick when the Email toolbar icon is clicked, identifying the email action to the host page.

Behavioral notes

  • Values map one-to-one to the toolbar icon groups rendered by SAIFMenuTop (Insert/Save/Delete/Edit/Cancel/Submit; Print/Preview/Email/Download/Calculate; Help/Set-Clear-Preferences).

Constraints and usage notes

  • Consumers must handle the ToolbarClick(Button As ToolBarButton) event on the host page to perform the actual CRUD/print/help/preference action; this library performs no business logic for any value itself.

Sources

  • SAIF.Presentation.Web.Controls.V2.Menu\SAIFMenuTop.vb