<commit_before>﻿@using Microsoft.Reporting.WebForms;
@using MvcReportViewer;
@using MvcReportViewer.Example.Models;
@model LocalReportsModel

@{
    ViewBag.Title = "Local Reports";
}

@section Code {
    @@Html.MvcReportViewerFluent("App_Data/Reports/Products.rdlc")
         .ProcessingMode(ProcessingMode.Local)
         .ReportParameters(new { Parameter1 = "Test", Parameter2 = 123 })
         .LocalDataSource("Products", Model.Products)
         .LocalDataSource("Cities", Model.Cities)
         .Attributes(new { Height = 900, Width = 900, style = "border: none" })

    @@Html.MvcReportViewerFluent("App_Data/Reports/Cities.rdlc")
         .ProcessingMode(ProcessingMode.Local)
         .Method(FormMethod.Post)
         .LocalDataSource("Cities", Model.FilteredCities)
         .Attributes(new { Height = 900, Width = 900, style = "border: none" })
}

@Html.MvcReportViewerFluent("App_Data/Reports/Products.rdlc").ProcessingMode(ProcessingMode.Local).ReportParameters(new { Parameter1 = "Test", Parameter2 = 123 }).LocalDataSource("Products", Model.Products).LocalDataSource("Cities", Model.Cities).Attributes(new { Height = 900, Width = 900, style = "border: none" }).Method(FormMethod.Post)<commit_msg>Added missing information to local report rendering example.<commit_after>﻿@using Microsoft.Reporting.WebForms;
@using MvcReportViewer;
@using MvcReportViewer.Example.Models;
@model LocalReportsModel

@{
    ViewBag.Title = "Local Reports";
}

@section Code {
    @@Html.MvcReportViewerFluent("App_Data/Reports/Products.rdlc")
         .ProcessingMode(ProcessingMode.Local)
         .ReportParameters(new { Parameter1 = "Test", Parameter2 = 123 })
         .LocalDataSource("Products", Model.Products)
         .LocalDataSource("Cities", Model.Cities)
         .Attributes(new { Height = 900, Width = 900, style = "border: none" })
         .Method(FormMethod.Post)

    @@Html.MvcReportViewerFluent("App_Data/Reports/Cities.rdlc")
         .ProcessingMode(ProcessingMode.Local)
         .Method(FormMethod.Post)
         .LocalDataSource("Cities", Model.FilteredCities)
         .Attributes(new { Height = 900, Width = 900, style = "border: none" })
}

@Html.MvcReportViewerFluent("App_Data/Reports/Products.rdlc").ProcessingMode(ProcessingMode.Local).ReportParameters(new { Parameter1 = "Test", Parameter2 = 123 }).LocalDataSource("Products", Model.Products).LocalDataSource("Cities", Model.Cities).Attributes(new { Height = 900, Width = 900, style = "border: none" }).Method(FormMethod.Post)
{'fraction_non_alphanumeric': 0.13681691264459514, 'fraction_numerical': 0.022337455125648185, 'mean_word_length': 4.32484076433121, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4038692', 'n_tokens_mistral': 808, 'n_tokens_neox': 732, 'n_words': 129}