Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ASP.NET 5 Support? #121

Closed
anuraj opened this issue Sep 10, 2015 · 33 comments
Closed

ASP.NET 5 Support? #121

anuraj opened this issue Sep 10, 2015 · 33 comments

Comments

@anuraj
Copy link

anuraj commented Sep 10, 2015

Is MVCReportViewer supported in ASPNET 5?

@ilich ilich added the question label Sep 10, 2015
@ilich
Copy link
Owner

ilich commented Sep 10, 2015

It supports ASP.NET 5. Do you have an issue?

@anuraj
Copy link
Author

anuraj commented Sep 10, 2015

No, someone asked me a question regarding ASP.NET 5 support for MVCReportViewer. I couldn't find any information related to that in the home page. So I asked that question. Thank you

@ilich
Copy link
Owner

ilich commented Sep 10, 2015

No problem. The helper supports ASP.NET MVC 4 and 5. I am going to try it with ASP.NET MVC 6 with v0.8

@ilich ilich closed this as completed Sep 10, 2015
@nikoszs
Copy link

nikoszs commented Oct 12, 2015

Any feedback regarding support of ASP.NET 5 MVC 6?

@ilich
Copy link
Owner

ilich commented Oct 12, 2015

I am going to take a look on November/December 2015 after ASP.NET 5 RC1.

@ilich ilich reopened this Oct 12, 2015
@ilich
Copy link
Owner

ilich commented Oct 12, 2015

I want to have release 0.8 finished and have MVC 6 support in 0.9.

@Asvictor
Copy link

Thx for providing such good tool.
But I have one silly question...
How to config the key="MvcReportViewer.ReportServerUrl" value for .rdlc file?
Since there is no ReportServer_SQLEXPRESS for it...
Thx a lot.

@ilich
Copy link
Owner

ilich commented Nov 17, 2015

Please take a look to https://github.com/ilich/MvcReportViewer/blob/master/MvcReportViewerExample/Views/Home/LocalReports.cshtml example. I'd also recommend to download sample application and play with it.

@ilich ilich closed this as completed Nov 17, 2015
@anuraj
Copy link
Author

anuraj commented Nov 18, 2015

Is MVC Report Viewer supported in ASP.NET5 MVC 6?

@ilich
Copy link
Owner

ilich commented Nov 18, 2015

You can try to use it. I think it will work out of box. I am going to do testing by the end of the year once I will have time.

@ilich ilich reopened this Nov 18, 2015
@zeeshan4119
Copy link

The reportviewer is not showing the print button in Chrome and Firefox how can i display the print button?

@tiesont
Copy link

tiesont commented Dec 24, 2015

@zeeshan4119 That's a known issue with the report viewer, as the print button is an ActiveX control. There are a few methods you can use to essentially duplicate the same functionality. For example: http://www.neodynamic.com/articles/How-to-add-Cross-Browser-Printing-to-ASP-NET-ReportViewer-toolbar/

@ilich
Copy link
Owner

ilich commented Dec 28, 2015

Please check this:

  1. Make sure you have ~/Scripts/MvcReportViewer.js and ~/Scripts/url.js on the server.
  2. Check that you have jQuery references in MvcReportViewer.aspx.
<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>
  1. MvcReportViewer's aspxViewerJavaScript setting in Web.config is ~/Scripts/MvcReportViewer.js.

Run sample application from the repository and check if Print button works in your browser. If it does not work then there is an issue with your server setup and/or browser.

@ilich ilich closed this as completed Dec 28, 2015
@ilich ilich reopened this Dec 28, 2015
@ilich
Copy link
Owner

ilich commented Dec 28, 2015

One more thing. Print button will render report to PDF which you can print from your web-browser or Acrobat reader. Printer printing is supported only in Internet Explorer because it required ActiveX support.

@golamkhan
Copy link

Just wondering how long it might take to release the support for ASP.NET 5 MVC 6?

@ilich
Copy link
Owner

ilich commented Jan 4, 2016

I think it should work now. I will try to find time to test it. Have you tried to use MvcReportViewer with MVC 6? What issues have you experienced?

@golamkhan
Copy link

I added the reference to my view. But I don't find any helper method.
don't find @Html.MvcReportViewer

@ilich
Copy link
Owner

ilich commented Jan 4, 2016

You should add @using MvcReportViewer; to your Razor file. Take a look to https://github.com/ilich/MvcReportViewer/blob/master/MvcReportViewerExample/Views/Home/Fluent.cshtml

@ilich
Copy link
Owner

ilich commented Jan 4, 2016

Please let me know if you still have issues after the fix.

@golamkhan
Copy link

yes I added that

@ilich
Copy link
Owner

ilich commented Jan 4, 2016

It seem that I will have to test the helper myself. I will try to do it later this week or next week. Please let me know if you will find the cause of the issue.

@golamkhan
Copy link

screenshot
Please see the screenshot. System.Web.Mvc is not included in ASP.NET 5

@ilich
Copy link
Owner

ilich commented Jan 4, 2016

OK. I will take a look. Thank you for the information. I am afraid I will have to create special fork for MVC 6.

@inu70
Copy link

inu70 commented Feb 10, 2016

hi, do you have a video tutorial about this is project ?

@ilich
Copy link
Owner

ilich commented Feb 10, 2016

No, I do not have any video tutorials. I'd recommend you to take a look to the sample application I've built. I hope it will provide you enough information how to use the solution.

@inu70
Copy link

inu70 commented Feb 11, 2016

thakn so much for you respon my ask

oh ya, i have a problem to open your project
i can't to attach database.mdf to sql server 2008

this is error comment "cannot be opened because it is version 782. This server supports version 655 and earlier. A downgrade path is not supported."

any solution ?

@ilich
Copy link
Owner

ilich commented Feb 12, 2016

Unfortunately you need Visual Studio 2015 and SQL Server 2014 Express for development.

@KerolosMalak
Copy link

@ilich
Please let me know if you create a special version for ASP.NET Core 1.0
I am working on ASP.NET Core app when add package "MVCReportViewer" project fire error "the dependency MVCReportViewer doesn't support framework .NetCoreapp"

@yao-bin
Copy link

yao-bin commented Nov 22, 2016

Please, how about the special fork for MVC 6?

@ilich
Copy link
Owner

ilich commented Nov 26, 2016

ASP.NET Core fork sounds good. The only problem, I seee, MvcReportViewer uses Report Viewer Web Forms control. It does not seem that MS will support web forms for ASP.NET Core in the nearest future. Please let me know if I am wrong. Otherwise I am open for forks and pull requests because I am busy with other projects. Unfortunately, I do not use SSRS at work at the moment. This is the main reason why it is hard to find time for MvcReportViewer.

@tiesont
Copy link

tiesont commented Nov 27, 2016

Following through the referenced project above, https://github.com/alanjuden/MvcReportViewer looks interesting (assuming @ilich isn't going to be able to work on this project any time soon).

@yao-bin
Copy link

yao-bin commented Dec 1, 2016

ok, thanks!

@ilich
Copy link
Owner

ilich commented Mar 15, 2017

Unfortunately, ASP.NET Core does not support Web Forms and ReportViewer 2016 control is not going to work there. I am going to update the project to use the latest Report Viewer control, but it won't work on ASP.NET Core. Please use https://github.com/alanjuden/MvcReportViewer if you need ASP.NET Core support and do not use Microsoft implementation. My library is a wrapper around Microsoft component.

I hope, Microsoft will support web forms for ASP.NET Core in the future, and I will be able to bring the extension there.

@ilich ilich closed this as completed Mar 15, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

10 participants