UI controls for ASP.NET AJAX, MVC, WPF,Silverlight, Windows 8 and Windows Phone
Cross-platform Mobile Development Toolwith cloud-based architecture
Everything you need to build sites andmobile apps with JavaScript and HTML5
One easy tool for Functional, Performance,Load and Mobile software testing
Everything for your online business - contentmanagement, ecommerce, emarketing
Simple and intuitive project managementand collaboration software
19 Apr 2012 (Link to this post)
$("#grid").kendoGrid({
dataSource: {
data:airports,
schema: {
data: 'd'
}
},
columns: [
{
field: "airportName",
field: "airportCode"
]
});
d: "[{"airportName":"BDL:Bradley International Airport, CT","airportCode":"BDL"},{"airportName":"HVN:Tweed New Haven Regional Airport, CT","airportCode":"HVN"},{"airportName":"EWR:Newark Liberty Intl, NJ","airportCode":"EWR"},{"airportName":"HPN:Whiteplains Airport,NY","airportCode":"HPN"},{"airportName":"JFK:John F. Kennedy Intl,NY","airportCode":"JFK"},{"airportName":"LGA:La Guardia Airport,NY","airportCode":"LGA"}]
};"
[WebMethod()]
public string GetAirportList()
List<
Airport
> Airports = new List<
>();
Airports.Add(new Airport {
airportCode = "BDL",
airportName = "BDL:Bradley International Airport, CT"
});
airportCode = "HVN",
airportName = "HVN:Tweed New Haven Regional Airport, CT"
airportCode = "EWR",
airportName = "EWR:Newark Liberty Intl, NJ"
airportCode = "HPN",
airportName = "HPN:Whiteplains Airport,NY"
airportCode = "JFK",
airportName = "JFK:John F. Kennedy Intl,NY"
airportCode = "LGA",
airportName = "LGA:La Guardia Airport,NY"
return Newtonsoft.Json.JsonConvert.SerializeObject(Airports);
20 Apr 2012 (Link to this post)
public Airport[] GetAirportList()
airportCode = "?",
airportName = ""
return Airports.ToArray;
01 Jun 2012 (Link to this post)
02 Jun 2012 (Link to this post)
Copyright © 2011 - 2013 Telerik Inc. All rights reserved.