Pass Parameters To Actionresult From Jsonresult
I wrote code to filter results like following image , once after it filter I want to send model values of following field as parameters to another controller method, I can call th
Solution 1:
@Url.Action()
is razor code. It's evaluated on the server before it's sent to the view. So you have to build your URL like quoted above.
var url = $(this).data('baseurl') + '?type=' + $('#Type').val() + '&category=' + $('#Category').val() + ...;
Post a Comment for "Pass Parameters To Actionresult From Jsonresult"