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

447
Views
Razor - Error de sintaxis no detectado: carácter ilegal U+200E

En Asp.Net core MVC [aspnetboilerplate.com], quiero imprimir una lista de números para los valores del gráfico, crear valores en una cadena como esta:

 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;

en el archivo de vista, imprime este valor así

 data:@Html.Raw(Model.ChartData_1)

pero agregó un carácter no deseado antes de menos, y lanzó una excepción en la página [ ver imagen ]

 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!