The following report designer toolbar items can be attached a "Click" action event handler:
ID | Icon |
ReportOptionsBtn | ![]() |
SaveReportBtn | ![]() |
DesignNewReportBtn | ![]() |
UndoBtn | ![]() |
RedoBtn | ![]() |
FormatCellsBtn | ![]() |
FormatPaintbrushBtn | ![]() |
FontNameList | ![]() |
BoldBtn | ![]() |
ItalicBtn | ![]() |
UnderlineBtn | ![]() |
UnderlineSelect | ![]() |
ForegroundColorBtn | ![]() |
BackgroundColorBtn | ![]() |
FontSize | ![]() |
AlignTopBtn | ![]() |
AlignMiddleBtn | ![]() |
AlignBottomBtn | ![]() |
MergeCellsBtn | ![]() |
SplitCellsBtn | ![]() |
AlignLeftBtn | ![]() |
AlignCenterBtn | ![]() |
AlignRightBtn | ![]() |
AlignJustifyBtn | ![]() |
WrapTextBtn | ![]() |
AutoSumBtn | ![]() |
InsertPictureBtn | ![]() |
EditFormulaBtn | ![]() |
SuppressDuplicatesBtn | ![]() |
CrossTabWizardBtn | ![]() |
LinkedReportBtn | ![]() |
LinkedActionBtn | ![]() |
The return value of the embedded javascript determines whether the result of clicking the button should take place. Return true to cause the button press to be halted, false to continue as normal.
string JsCode = @"(function() { return !confirm('Continue?'); }())"; sessionInfo.JavascriptAction.SetJsCode(JsCode); return sessionInfo.JavascriptAction;