trying to add/change the values of the parameters in the url, but can't able to change/add the values
trying to add/change the values of the parameters as shown below var Filename ='abc.pdf'; var strUser='john'; var url = '@Url.Action("Action","Controller", new{ filename="name", username="User" })'; window.location.href = url.replace('name',Filename + 'User', strUser);
but not able to do it
params.set()method to update the existing parameter.