不要使用字符串串联来传递参数,只需使用数据哈希即可:
$.ajax({ type: 'POST', url: 'popup.aspx/GetJewellerAssets', contentType: 'application/json; charset=utf-8', data: { jewellerId: filter, locale: 'en-US' }, dataType: 'json', success: AjaxSucceeded, error: AjaxFailed});更新:
正如@Alex在注释部分所建议的那样,ASP.NET
PageMethod期望参数在请求中使用JSON编码,因此
JSON.stringify应将其应用于数据哈希:
$.ajax({ type: 'POST', url: 'popup.aspx/GetJewellerAssets', contentType: 'application/json; charset=utf-8', data: JSON.stringify({ jewellerId: filter, locale: 'en-US' }), dataType: 'json', success: AjaxSucceeded, error: AjaxFailed});


