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

194
Views
convirtiendo URL a Action Link @url.action

Tengo un problema con IIS no lee la URL. Error al cargar el recurso: el servidor respondió con un estado de 503 (Servicio no disponible)

Mi proyecto está en Asp.net MVC. He usado una cuadrícula Jqx en mi proyecto, pero la cuadrícula no carga datos en IIS.

¿Cómo puedo convertir la URL a Action Link @url.action, para que IIS pueda leer?

Mi URL en mi grilla.

url: "/Home/GetIMScompinfo?CompanyName=" + $("#CompanyName").val() + "&StoreName=" + $("#StoreName").val() + "&ComputerName=" + $("# ComputerName").val() + parámetros

url: "/Inicio/GetSubItems?scopeId=" + id

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

url: "/Home/GetIMScompinfo?CompanyName=" + $("#CompanyName").val() + "&StoreName=" + $("#StoreName").val() + "&ComputerName=" + $("# ComputerName").val() + params url: "/Home/GetSubItems?scopeId=" + id

No sé cuál es la diferencia entre los dos obteniendo el valor. Así que doy el script de muestra para la primera url.

 <button class="btn-class" id="press" type="button" onclick="changeHref1()">Genrate first url</button> <script type="text/javascript"> function changeHref1() { var url = '@Url.Action("About","Home")'; var company = $('#CompanyName').val(); var store = $('#StoreName').val(); var computer = $('#ComputerName').val(); window.location.href = url + '?CompanyName=' + company + '&StoreName=' + store + '&ComputerName=' + computer; } </script>

ingrese la descripción de la imagen aquí

about 4 years ago · Juan Pablo Isaza Report
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!