Completed
Last Updated: 05 Jun 2023 13:08 by ADMIN
Andreas
Created on: 23 Feb 2023 13:24
Category: UI for ASP.NET Core
Type: Bug Report
0
Gantt Demo Error

Hi,

https://netcorerepl.telerik.com/?_gl=1*ptwrwx*_ga*MTM4MzE0OTY5MC4xNjczNDQ5ODc1*_ga_9JSNBCSF54*MTY3NzE1MzU1Ny44MC4xLjE2NzcxNTg0NTEuNjAuMC4w

 

From: Edit in Telerik REPL

https://demos.telerik.com/aspnet-core/gantt

Results:

One or more compilation failures occurred: /Views/Snippet.cshtml(24,18): Error RZ1006: The section block is missing a closing "}" character. Make sure you have a matching "}" character for all the "{" characters within this block, and that none of the "}" characters are being interpreted as markup.

 

Thanks

Andreas

 

 

1 comment
ADMIN
Aleksandar
Posted on: 02 Mar 2023 07:44

Hi Andreas,

Upon investigating the issue I see the observed error seems to be related to a missing closing bracket of the @section scripts{...} that is present in the source code, but for some reason not displayed in the source and not passed to the REPL, thus causing the observed error. We will investigate that, but for the time being you can run the example in the REPL by removing the @section scripts{ from the code snippet:

@section scripts { //remove this line
    <!-- Load Pako ZLIB library to enable PDF compression -->
    <script src="@Url.Content("~/shared/pako.min.js")"></script>
    <script>
        // Send the dates for the newly creted/updated tasks as UTC strings
        function onUpdateCreate(e) {
            e.End = e.End.toISOString();
            e.Start = e.Start.toISOString();
        }
    </script>

Here is a runnable REPL if the example.

Regards,
Aleksandar
Progress Telerik

Love the Telerik and Kendo UI products and believe more people should try them? Invite a fellow developer to become a Progress customer and each of you can get a $50 Amazon gift voucher.