I'm trying to put write a javascript function behind a button so that when I press the button it will open a new tab and calls on the report_handler which opens the report.
My code behind this button currently is;
<dx:ASPxButton ID="btn_Print" runat="server" Text="Print" UseSubmitBehavior="false" AutoPostBack="false" RenderMode="Link" OnClick="btn_Print_Click">
<ClientSideEvents Click="function(s, e) {'javascript:window.open(Report_Handler.ashx?')}" /></dx:ASPxButton>
However this doesn't seem to be doing the trick.
Any suggestions would be greatly appreciated.
Thanks