Ticket T264015
Visible to All Users

Web Report Designer - "To be able to run the Report Designer, the client web browser must support HTML5." error is displayed

created 10 years ago

Hi,

I'm trying to use Web Report Designer tool in my ASP.Net MVC application but I'm getting following error "To be able to run the Report Designer, the client web browser must support HTML5.'

My browser is supports the HTML5 but why it is showing this error?

Thanks,

Show previous comments (4)
Vasily (DevExpress Support) 10 years ago

    Hi Michael,

    Would you please look through my previous comment and check if the Web Report Designer demo is working for you. Is the issue reproducible with that demo?

      I created new MVC application in Visual Studio 2012 and then using DevExpress wizard upgrade the project and add the simple Web Report Designer on Home=>Index page and it shows the same issue. Please find attached sample.

        The Web Report Designer demo works in both Chrome and IE11, this is not a browser issue.  I followed the examples provided for Pivot Grid and Chart reporting (https://demos.devexpress.com/MVCxReportDemos/DataBinding/PivotGridAndChartReport)
        This line from the view will render the viewer:
        @Html.Partial("PivotGridAndChartViewerPartial", Model)
        Using this bit instead throws the HTML5 error:
        @Html.DevExpress().WebDocumentViewer(settings => {
           settings.Name = "webDocumentViewer";
           settings.Height = 770;
        }).Bind(Model.Report).GetHtml()

        Answers approved by DevExpress Support

        created 10 years ago (modified 10 years ago)

        @Tahir,

        It looks like you have missed the last step of our Project Wizard while upgrading your application. I see that the scripts required for our MVC extensions are not registered in your project. Please refer to the Integration into an Existing Project Using Wizards help topic for more information. Take special note that third-party client-side libraries are required for our MVC extensions. We recommend you enable the embedRequiredClientLibraries option in Web.config to make these libraries be registered on your page automatically.
        Finally, I found that your "Index.cshtml" view markup is incorrect. That's because its Layout property is set to the null value, and it does not contain the correct HTML page structure.

        I have modified your sample project to solve all these errors. You can find it in the attachment.

        @Michael,

        More likely, the issue you faced is caused by similar reasons. Please check your browser console to see if any client-side errors are thrown on your page with the report designer. If so, make sure that our MVC Report Designer scripts and all the third-party libraries are correctly registered on your web page.
        If this does not help, create a separate ticket for the issue and send us a sample project so that we will be able to research it on our side.

          Show previous comments (1)
          Vasily (DevExpress Support) 10 years ago

            Hi Tahir ,

            To process your recent post more efficiently, I created a separate ticket on your behalf: T267449: Web Report Designer shows the data source but in Data Binding it didn't show any field. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

              WOuld you be able to create single asp mvc project that displays only one page with html 5 document viewer ?

              Vasily (DevExpress Support) 9 years ago

                Hello Seb,

                To process your recent post more efficiently, I created a separate ticket on your behalf: T312758: How to create an ASP.NET MVC application with the HTML 5 Document Viewer control. This ticket is currently in our processing queue. Our team will address it as soon as we have any updates.

                Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

                Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.