Hello,
At our company, we are using the OutSystems platform to publish .asmx Web Services that we can consume in client side software. I am trying to get the KendoUI grid to work with the .asmx Web Services, but I am having trouble getting any data. I am new to javascript and KendoUI, so really dumbing it down can help. Do I need to create a service reference in my asp.net application for the service and then point the grid to that code file, or can I consume the service directly. I read the other posts in the forum about the xml web service, but still can't get it to work.
Here is my code:
At our company, we are using the OutSystems platform to publish .asmx Web Services that we can consume in client side software. I am trying to get the KendoUI grid to work with the .asmx Web Services, but I am having trouble getting any data. I am new to javascript and KendoUI, so really dumbing it down can help. Do I need to create a service reference in my asp.net application for the service and then point the grid to that code file, or can I consume the service directly. I read the other posts in the forum about the xml web service, but still can't get it to work.
Here is my code:
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="Kendo2.aspx.cs" Inherits="VSKendo.Kendo2" %><!doctype html><html><head> <!-- meta --> <!-- meta --> <title>Grid virtualization using remote data</title> <!-- css --> <link href="Styles/kendo.examples.css" rel="stylesheet" /> <link href="Styles/kendo.common.css" rel="stylesheet" /> <link href="Styles/kendo.kendo.css" rel="stylesheet" /> <!-- css --> <!-- script --> <script src="Scripts/kendo.jquery.js" type="text/javascript"></script> <script src="Scripts/kendo.core.js" type="text/javascript"></script> <script src="Scripts/kendo.data.js" type="text/javascript"></script> <script src="Scripts/kendo.data.odata.js" type="text/javascript"></script> <script src="Scripts/kendo.draganddrop.js" type="text/javascript"></script> <script src="Scripts/kendo.grid.js" type="text/javascript"></script> <script src="Scripts/kendo.groupable.js" type="text/javascript"></script> <script src="Scripts/kendo.pageable.js" type="text/javascript"></script> <script src="Scripts/kendo.people.js" type="text/javascript"></script> <script src="Scripts/kendo.sortable.js" type="text/javascript"></script> <script src="Scripts/kendo.data.xml.js" type="text/javascript"></script> <!-- script --></head><body> <form id="Mainform" runat="server"> <!-- nav --> <!-- nav --> <!-- description --> <div class="description"> Grid virtualization using remote data</div> <!-- description --> <div id="example" class="k-content"> <script> $(document).ready(function () { $("#grid").kendoGrid({ dataSource: { transport: { } }, height: 280, columns: ["PricingSourceName"] }); }); </script> <div id="grid"> </div> </div> <!-- tools --> <!-- tools --> </form></body></html>