ButtonSelect stopping working after loading PDF file


We have a page with ‘1C’ layout. A toolbar is attached to the layout cell. On the toolbar, a ButtonSelect provides two selections. Based on the selection, either a html file or a pdf file will be displayed on the page through layout cell’s attachURL function.

After a pdf file is loaded, ButtonSelect stops responding to ‘onClick’ event.


  1. We placed a log in the ButtonSelect 's ‘onClick’ event handler. It prints perfectly whenever the ButtonSelect is clicked until the pdf file is loaded.
  2. Loading html file doesn’t trigger the same problem.

Thank you for your help!

Could you please, provide a complete demo or a demo link, where the problem can be reconstructed locally,