Custom Toolbar for ASP.NET MVC Razor

edited 7:20PM in FastReport .NET
Hi,

I'm trying to create a custom toolbar with in a ASP.NET MVC Razor project but having issue over calling the javascript function e.g.

var fsReportGuid = $("input[name=object]").val();

var s = "1623";

frRequestServer('/FastReport.Export.axd?object=' + fsReportGuid + '&refresh=1&s=' + s)

need the script id for axd ???


Adam

Comments

  • edited 7:20PM
    Fixed it thanks

    function Export_pdf()
    {

    var fsReportGuid = $("input[name=object]").val();

    window.open('/FastReport.Export.axd?object=' + fsReportGuid + '&export_pdf=1');


    }

Leave a Comment

Rich Text Editor. To edit a paragraph's style, hit tab to get to the paragraph menu. From there you will be able to pick one style. Nothing defaults to paragraph. An inline formatting menu will show up when you select text. Hit tab to get into that menu. Some elements, such as rich link embeds, images, loading indicators, and error messages may get inserted into the editor. You may navigate to these using the arrow keys inside of the editor and delete them with the delete or backspace key.