Skip to Content
Former Member
Mar 12, 2015 at 11:18 AM

SAP Viewer control collection not exposed?


Hi! I´m using SAP BusinessObjects WPF Viewer version 13.0.3500.0, and trying to access viewer control collection to detect Toolstrip clicks and log

user´s printing and exporting activity.In previous versions, this code worked fine:

foreach (Control control in crViewer.Controls)


if (control is System.Windows.Forms.ToolStrip)


//Default Export Button

ToolStripItem tsItem = ((ToolStrip)control).Items[0];

tsItem.Click += new EventHandler(tsItem_Click);

ToolStripItem tsItemPrint = ((ToolStrip)control).Items[1];

tsItemPrint.Click += new EventHandler(tsItemPrint_Click);



But in current version i can't find CR control collection to achieve that functionality.

Thanks in advance!