Tony21
New member
- Joined
- Dec 13, 2021
- Messages
- 3
- Programming Experience
- Beginner
I have my project worked on asp.net mvc
i am using jqxGrid but when i publish my project on IIS the grid does not load the data.
in my js grid i use URL with parameters.
as i have googled i must convert the URL to @url.action, but i don't know how to convert my URL because it has parameters.
the error is:
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
i am using jqxGrid but when i publish my project on IIS the grid does not load the data.
in my js grid i use URL with parameters.
as i have googled i must convert the URL to @url.action, but i don't know how to convert my URL because it has parameters.
the error is:
Failed to load resource: the server responded with a status of 503 (Service Unavailable)
C#:
var config = {
datatype: "json",
datafields: [
{ name: "ScopeId", type: "int" },
{ name: "CompanyName", type: "string" },
{ name: "StoreName", type: "string" },
{ name: "ComputerName", type: "string" },
{ name: "IP1", type: "string" },
{ name: "logiPOS_Version", type: "string" },
{ name: "BootTime", type: "string" },
{ name: "LastLoginDate", type: "string" },
{ name: "LastModifiedDate", type: "string" },
//{ name: "LocationId", type: "string" },
{ name: "SynchronisedDate", type: "string" },
{ name: "isActive", type: "int" }
],
url: "/Home/GetIMScompinfo?CompanyName=" + $("#CompanyName").val() + "&StoreName=" + $("#StoreName").val() + "&ComputerName=" + $("#ComputerName").val() + params
};
Last edited by a moderator: