SCRIPT
function PostExportValues(meter_id, range_type_id, start_date, end_date, returnUrl) { var meter = $(\"#meter_selection\").val()[0]; $.ajax({
Also you can use
window.location.href = "controllerName/GridExportToExcel?id="