Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

450
Views
Razor - Uncaught SyntaxError: illegal character U+200E

In Asp.Net core MVC [aspnetboilerplate.com], I want to print list of number for chart values, Create values in string like this:

        var chartData_1 = "[";
        foreach (var item in daies)
        {
            chartData_1 += _billRepository.GetAll().Where(o => o.UserId == AbpSession.UserId.Value && o.CreationTime.Date == item.Date).Sum(o => o.Amount) + ", ";
        }
        chartData_1 = chartData_1.Trim().Remove(chartData_1.Length - 2) + "]";
        profileViewModel.ChartData_1 = chartData_1;

in view file, Print this value like this

data:@Html.Raw(Model.ChartData_1)

but added unwanted character on before minus, and throw exception on page [see image]

Uncaught SyntaxError: illegal character U+200E
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!