Url redirection in MVC
Is there any way to redirect to a new URL by making call from javascript to MVC Controller without showing query parameters in the browser.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Monica Bundel100 reputationPosted Feb 17, 2016, 1:15 AM EST
Saineshwar BageriRank #115 · 19.6K reputationPosted Feb 7, 2016, 8:14 PM EST
var NestId = $(this).data('id');
var url = "/Artists/Details?NestId=" + NestId;
window.location.href = url;
})
pankaj kumar45 reputationPosted Feb 17, 2016, 12:54 AM EST
pankaj kumar45 reputationPosted Feb 18, 2016, 1:06 AM EST
Shailesh UkeRank #1,917 · 766 reputationPosted Feb 22, 2016, 9:27 PM EST
Saineshwar BageriRank #115 · 19.6K reputationPosted Feb 22, 2016, 9:35 PM EST