User-775001650 posted
Thanks for your reply,
The below code generated from C# string builder and attached to data table. I am trying put window.location in single quote but it is generated like above post.
StringBuilder Script='$.ajax({
type: "get", url:
"/SomeController/ActionMethod1",
data: { accountNumber: accountNumber
}, dataType: 'json',
success: function(response)
{ if (response
== null)
{ window.location.href
= '@Url.Action(""Signoff"")';
}
else { $(target).html(response);
} },
error:function(response){$(target).html('An error occured');
}});';