Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

191
Visualizações
converting URL to Action Link @url.action

I have problem with IIS does not read the URL. Failed to load resource: the server responded with a status of 503 (Service Unavailable)

My project is on Asp.net MVC I have used a Jqx grid on my project but the grid does not load data on IIS.

How can I convert the URL to Action Link @url.action, so the IIS can read?

My URL on my grid.

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

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

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

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

I don't know what is the difference between the two getting the value. So I give the sample script for the first 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>

enter image description here

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda