Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .cr/personal/FavoritesList/List.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="utf-8"?>
<Root Type="DevExpress.CodeRush.Foundation.CodePlaces.Options.FavoritesListContainer">
<Options Language="Neutral">
<Groups />
</Options>
</Root>
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2013-2015 Ilya Verbitskiy
Copyright (c) 2013-2015 Ilya Verbitskiy, Adhemar Soria Galvarro

Permission is hereby granted, free of charge, to any person obtaining a copy of
this software and associated documentation files (the "Software"), to deal in
Expand Down
27 changes: 6 additions & 21 deletions MvcReportViewer.sln
Original file line number Diff line number Diff line change
@@ -1,40 +1,25 @@

Microsoft Visual Studio Solution File, Format Version 12.00
# Visual Studio 2013
VisualStudioVersion = 12.0.31101.0
# Visual Studio Version 18
VisualStudioVersion = 18.1.11304.174 d18.0
MinimumVisualStudioVersion = 10.0.40219.1
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcReportViewerExample", "MvcReportViewerExample\MvcReportViewerExample.csproj", "{5804FFD3-29D6-42FA-943B-94DE747CBE24}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcReportViewer", "MvcReportViewer\MvcReportViewer.csproj", "{6353720D-C784-4C00-A7B7-D652542FBCC9}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcReportViewerTests", "MvcReportViewerTests\MvcReportViewerTests.csproj", "{20D0F976-2730-406D-A336-4056416CFF10}"
EndProject
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MvcReportViewer_NET45", "MvcReportViewer_NET45\MvcReportViewer_NET45.csproj", "{BF8D2B0B-EFD0-44A6-B6E1-A3215B4C477B}"
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MvcReportViewer", "MvcReportViewer\MvcReportViewer.csproj", "{6353720D-C784-4C00-A7B7-D652542FBCC9}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
Debug|Any CPU = Debug|Any CPU
Release|Any CPU = Release|Any CPU
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
{5804FFD3-29D6-42FA-943B-94DE747CBE24}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{5804FFD3-29D6-42FA-943B-94DE747CBE24}.Debug|Any CPU.Build.0 = Debug|Any CPU
{5804FFD3-29D6-42FA-943B-94DE747CBE24}.Release|Any CPU.ActiveCfg = Release|Any CPU
{5804FFD3-29D6-42FA-943B-94DE747CBE24}.Release|Any CPU.Build.0 = Release|Any CPU
{6353720D-C784-4C00-A7B7-D652542FBCC9}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{6353720D-C784-4C00-A7B7-D652542FBCC9}.Debug|Any CPU.Build.0 = Debug|Any CPU
{6353720D-C784-4C00-A7B7-D652542FBCC9}.Release|Any CPU.ActiveCfg = Release|Any CPU
{6353720D-C784-4C00-A7B7-D652542FBCC9}.Release|Any CPU.Build.0 = Release|Any CPU
{20D0F976-2730-406D-A336-4056416CFF10}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{20D0F976-2730-406D-A336-4056416CFF10}.Debug|Any CPU.Build.0 = Debug|Any CPU
{20D0F976-2730-406D-A336-4056416CFF10}.Release|Any CPU.ActiveCfg = Release|Any CPU
{20D0F976-2730-406D-A336-4056416CFF10}.Release|Any CPU.Build.0 = Release|Any CPU
{BF8D2B0B-EFD0-44A6-B6E1-A3215B4C477B}.Debug|Any CPU.ActiveCfg = Debug|Any CPU
{BF8D2B0B-EFD0-44A6-B6E1-A3215B4C477B}.Debug|Any CPU.Build.0 = Debug|Any CPU
{BF8D2B0B-EFD0-44A6-B6E1-A3215B4C477B}.Release|Any CPU.ActiveCfg = Release|Any CPU
{BF8D2B0B-EFD0-44A6-B6E1-A3215B4C477B}.Release|Any CPU.Build.0 = Release|Any CPU
EndGlobalSection
GlobalSection(SolutionProperties) = preSolution
HideSolutionNode = FALSE
EndGlobalSection
GlobalSection(ExtensibilityGlobals) = postSolution
SolutionGuid = {E75B79A7-7DE7-4E4C-AD4C-94FA4109285D}
EndGlobalSection
EndGlobal
81 changes: 41 additions & 40 deletions MvcReportViewer/MvcReportViewer.aspx
Original file line number Diff line number Diff line change
@@ -1,53 +1,54 @@
<%@ Page Language="C#" AutoEventWireup="true" Inherits="MvcReportViewer.MvcReportViewer, MvcReportViewer" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=15.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>

<!DOCTYPE html>

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript" src="//code.jquery.com/jquery-1.11.0.min.js"></script>
<script type="text/javascript" src="//code.jquery.com/jquery-migrate-1.2.1.min.js"></script>
<title></title>
<script src='<%:ResolveClientUrl("~/libs/js/jquery.min.js")%>'></script>
</head>
<body>
<form id="reportForm" runat="server">
<div>
<asp:ScriptManager runat="server" ID="ScriptManager"></asp:ScriptManager>
<rsweb:ReportViewer ID="ReportViewer" ClientIDMode="Predictable" runat="server"></rsweb:ReportViewer>
<form id="reportForm" runat="server">
<div style="height: 84vh;">
<asp:ScriptManager runat="server" ID="ScriptManager"></asp:ScriptManager>
<rsweb:reportviewer id="ReportViewer" clientidmode="Predictable" runat="server" height="100%" width="100%"></rsweb:reportviewer>
</div>
</form>
</form>

<script type="text/html" id="non-ie-print-button">
<div class="" style="font-family: Verdana; font-size: 8pt; vertical-align: top; display: inline-block; width: 28px; margin-left: 6px;">
<table style="display: inline;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td height="28">
<div>
<div id="mvcreportviewer-btn-print" style="border: 1px solid transparent; border-image: none; cursor: default; background-color: transparent;">
<table title="Print">
<tbody>
<tr>
<td>
<input
id="PrintButton"
title="Print"
style="width: 16px; height: 16px;"
type="image"
alt="Print"
runat="server"
src="~/Reserved.ReportViewerWebControl.axd?OpType=Resource&amp;Version=11.0.3442.2&amp;Name=Microsoft.Reporting.WebForms.Icons.Print.gif" />
</td>
</tr>
</tbody>
</table>
</div>
</div>
<script type="text/html" id="non-ie-print-button">
<div class="" style="font-family: Verdana; font-size: 8pt; vertical-align: top; display: inline-block; width: 28px; margin-left: 6px;">
<table style="display: inline;" cellspacing="0" cellpadding="0">
<tbody>
<tr>
<td style="height: 84vh">
<div>
<div id="mvcreportviewer-btn-print" style="border: 1px solid transparent; border-image: none; cursor: default; background-color: transparent;">
<table title="Print">
<tbody>
<tr>
<td>
<input
id="PrintButton"
title="Print"
style="width: 16px; height: 16px;"
type="image"
alt="Print"
runat="server"
src="~/Reserved.ReportViewerWebControl.axd?OpType=Resource&amp;Version=11.0.3442.2&amp;Name=Microsoft.Reporting.WebForms.Icons.Print.gif" />
</td>
</tr>
</tbody>
</table>
</div>
</script>
</tr>
</tbody>
</table>
</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</script>
</body>

</html>
154 changes: 45 additions & 109 deletions MvcReportViewer/MvcReportViewer.csproj
Original file line number Diff line number Diff line change
@@ -1,112 +1,16 @@
<?xml version="1.0" encoding="utf-8"?>
<Project ToolsVersion="4.0" DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<Import Project="$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props" Condition="Exists('$(MSBuildExtensionsPath)\$(MSBuildToolsVersion)\Microsoft.Common.props')" />
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration>
<Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform>
<ProjectGuid>{6353720D-C784-4C00-A7B7-D652542FBCC9}</ProjectGuid>
<OutputType>Library</OutputType>
<AppDesignerFolder>Properties</AppDesignerFolder>
<RootNamespace>MvcReportViewer</RootNamespace>
<AssemblyName>MvcReportViewer</AssemblyName>
<TargetFrameworkVersion>v4.0</TargetFrameworkVersion>
<FileAlignment>512</FileAlignment>
<TargetFrameworkProfile />
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' ">
<DebugSymbols>true</DebugSymbols>
<DebugType>full</DebugType>
<Optimize>false</Optimize>
<OutputPath>bin\Debug\</OutputPath>
<DefineConstants>DEBUG;TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' ">
<DebugType>pdbonly</DebugType>
<Optimize>true</Optimize>
<OutputPath>bin\Release\</OutputPath>
<DefineConstants>TRACE</DefineConstants>
<ErrorReport>prompt</ErrorReport>
<WarningLevel>4</WarningLevel>
</PropertyGroup>
<ItemGroup>
<Reference Include="Microsoft.ReportViewer.WebForms, Version=11.0.0.0, Culture=neutral, PublicKeyToken=89845dcd8080cc91, processorArchitecture=MSIL" />
<Reference Include="Microsoft.Web.Infrastructure, Version=1.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.Web.Infrastructure.1.0.0.0\lib\net40\Microsoft.Web.Infrastructure.dll</HintPath>
</Reference>
<Reference Include="Newtonsoft.Json, Version=8.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed, processorArchitecture=MSIL">
<HintPath>..\packages\Newtonsoft.Json.8.0.2\lib\net40\Newtonsoft.Json.dll</HintPath>
<Private>True</Private>
</Reference>
<Reference Include="System" />
<Reference Include="System.configuration" />
<Reference Include="System.Core" />
<Reference Include="System.Drawing" />
<Reference Include="System.Web" />
<Reference Include="System.Web.Extensions" />
<Reference Include="System.Web.Helpers, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.Helpers.dll</HintPath>
</Reference>
<Reference Include="System.Web.Mvc, Version=4.0.0.1, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.Mvc.4.0.40804.0\lib\net40\System.Web.Mvc.dll</HintPath>
</Reference>
<Reference Include="System.Web.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.Razor.2.0.20710.0\lib\net40\System.Web.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Deployment, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Deployment.dll</HintPath>
</Reference>
<Reference Include="System.Web.WebPages.Razor, Version=2.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, processorArchitecture=MSIL">
<Private>True</Private>
<HintPath>..\packages\Microsoft.AspNet.WebPages.2.0.20710.0\lib\net40\System.Web.WebPages.Razor.dll</HintPath>
</Reference>
<Reference Include="System.Xml.Linq" />
<Reference Include="Microsoft.CSharp" />
<Reference Include="System.Data" />
<Reference Include="System.Xml" />
</ItemGroup>
<ItemGroup>
<Compile Include="AzureReportServerCredentials.cs" />
<Compile Include="BaseLocalDataSourceProvider.cs" />
<Compile Include="Configuration\MvcReportViewerSettings.cs" />
<Compile Include="Configuration\ReportViewerConfiguration.cs" />
<Compile Include="ControlSettings.cs" />
<Compile Include="ControlSettingsManager.cs" />
<Compile Include="ILocalReportDataSourceProvider.cs" />
<Compile Include="IMvcReportViewerOptions.cs" />
<Compile Include="IReportViewerEventsHandler.cs" />
<Compile Include="LocalReportDataSourceProviderFactory.cs" />
<Compile Include="MvcReportViewer.aspx.cs">
<Compile Update="MvcReportViewer.aspx.cs">
<DependentUpon>MvcReportViewer.aspx</DependentUpon>
<SubType>ASPXCodeBehind</SubType>
</Compile>
<Compile Include="MvcReportViewerException.cs" />
<Compile Include="MvcReportViewerExtensions.cs" />
<Compile Include="MvcReportViewerIframe.cs" />
<Compile Include="ReportFormat.cs" />
<Compile Include="ReportRunner.cs" />
<Compile Include="ReportRunnerExtensions.cs" />
<Compile Include="ReportServerCredentials.cs" />
<Compile Include="ReportViewerExtensions.cs" />
<Compile Include="ReportViewerParameters.cs" />
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="ReportViewerParametersParser.cs" />
<Compile Include="IgnoreCaseExtensions.cs" />
<Compile Include="SecurityUtil.cs" />
<Compile Include="SessionLocalDataSourceProvider.cs" />
<Compile Include="SqlLocalDataSourceProvider.cs" />
<Compile Include="UriParameterAttribute.cs" />
<Compile Include="UriParameters.cs" />
</ItemGroup>
<ItemGroup>
<Content Include="MvcReportViewer.aspx">
Expand All @@ -115,18 +19,50 @@
</Content>
</ItemGroup>
<ItemGroup>
<None Include="packages.config" />
<None Include="..\LICENSE">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\README.md">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
<None Include="..\icon.png">
<Pack>True</Pack>
<PackagePath>\</PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<PackageReference Include="Microsoft.AspNet.Mvc">
<Version>5.3.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.CSharp">
<Version>4.7.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.ReportingServices.ReportViewerControl.WebForms">
<Version>150.1652.0</Version>
</PackageReference>
<PackageReference Include="Microsoft.SqlServer.Types">
<Version>170.1000.7</Version>
</PackageReference>
<PackageReference Include="System.Configuration.ConfigurationManager">
<Version>10.0.1</Version>
</PackageReference>
<PackageReference Include="System.Text.Json" Version="10.0.1" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<PropertyGroup />
<PropertyGroup>
<PostBuildEvent>
</PostBuildEvent>
<TargetFramework>net48</TargetFramework>
<GenerateAssemblyInfo>false</GenerateAssemblyInfo>
<GeneratePackageOnBuild>True</GeneratePackageOnBuild>
<Version>0.90.8</Version>
<AssemblyName>$(MSBuildProjectName)</AssemblyName>
<PackageId>$(AssemblyName)BO</PackageId>
<PackageLicenseFile>LICENSE</PackageLicenseFile>
<PackageReadmeFile>README.md</PackageReadmeFile>
<PackageIcon>icon.png</PackageIcon>
<RepositoryUrl>https://github.com/Avaruz/MvcReportViewer</RepositoryUrl>
<RepositoryType>git</RepositoryType>
<PackageReleaseNotes>Dependencys Updates</PackageReleaseNotes>
</PropertyGroup>
<!-- To modify your build process, add your task inside one of the targets below and uncomment it.
Other similar extension points exist, see Microsoft.Common.targets.
<Target Name="BeforeBuild">
</Target>
<Target Name="AfterBuild">
</Target>
-->
</Project>
17 changes: 17 additions & 0 deletions MvcReportViewer/MvcReportViewer.nuspec
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<?xml version="1.0" encoding="utf-8"?>
<package >
<metadata>
<id>MvcReportViewerBO</id>
<version>0.90</version>
<title>$title$</title>
<authors>Ilya Verbitskiy, Adhemar Soria Galvarro</authors>
<requireLicenseAcceptance>false</requireLicenseAcceptance>
<license type="expression">MIT</license>
<description>ASP.NET MVC wrapped for Microsoft ReportViewer control</description>
<releaseNotes>Summary of changes made in this release of the package.</releaseNotes>
<copyright>$copyright$</copyright>
<dependencies>
<group targetFramework=".NETFramework4.80" />
</dependencies>
</metadata>
</package>
Loading