Did you know? DZone has great portals for Python, Cloud, NoSQL, and HTML5!
HTML5 Zone is brought to you in partnership with:

Dhananjay Kumar is a Telerik MVP, Microsoft MVP and a prolific blogger. He blogs at debugmode.net He is very much active and connected with fellow developers on Twitter. You can follow him here on twitter. For updates of blog posts and technical discussions, you can connect with him on Facebook Dhananjay has posted 17 posts at DZone. You can read more from them at their website. View Full User Profile

Introduction to Kendo UI

02.20.2012
Email
Views: 3262
  • submit to reddit
The HTML5 Microzone is presented by DZone and Microsoft to bring you the most interesting and relevant content on emerging web standards.  Experience all that the HTML5 Microzone has to offer on our homepage and check out the cutting edge web development tutorials on Script Junkie, Build My Pinned Site, and the HTML5 DevCenter.

Kendo UI is HTML 5 and Jquery based framework and it helps you to create modern Web Applications. Kendo UI helps you

  • In Data Binding
  • In Animations
  • With UI widgets like Grid and Chart
  • With Drag and Drop API
  • In Touch support.

Download kendo UI from here

Once you download you get these folders:

image

Navigate to the 'example' folder for examples of various widgets.

If you want to start developing web applications using KendoUI then you need to add the required file in your project.

You need to add the below files in the Script folder:

image

And you need to add the below files in the Style folder:

image

Even though I have added script files and css files in the Script Folder and Style folders respectively, you are free to keep them anywhere you want. After adding these files you need to link them in the header of the HTML page. You can add the reference as below:

image

In a later post I will go into the details of Kendo UI and play around with all other aspects. However, working with any widgets is very intuitive. For example, if you want to work with Kendo AutoComplete, you can do that as below:

image

And using Jquery you can assign the value as below:

image

Putting all HTML and Script code together:

Test.htm

<html >
<head>
<!--In the header of your page, paste the following for Kendo UI Web styles-->
<link href="styles/kendo.common.min.css" rel="stylesheet" type="text/css" />
<link href="styles/kendo.default.min.css" rel="stylesheet" type="text/css" />
<!--Then paste the following for Kendo UI Web scripts-->
<script src="Scripts/jquery.min.js" type="text/javascript"></script>
<script src="Scripts/kendo.all.min.js" type="text/javascript"></script>
<script src="Scripts/Test.js" type="text/javascript"></script>
<title>My Kendo UI Demo</title>
</head>
<body>
<h1>Kendo UI Demo</h1>
<input id="cricketerAutoComplete" />
</body>
<script type="text/javascript">
$("#cricketerAutoComplete").kendoAutoComplete(
["Sachin",
"Dhoni",
"Saurabh",
"Rahul"]);
</script>
</html>

When you run Test.htm in your browser, you should get this output:

image

In later posts I will get into detail about all widgets. I hope this post is useful. Thanks for reading.

 

Source: http://debugmode.net/2012/02/18/introduction-to-telerik-kedno-ui/

Published at DZone with permission of its author, Dhananjay Kumar.

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)

HTML5 is the most dramatic step in the evolution of web standards. It incorporates features such as geolocation, video playback and drag-and-drop. HTML5 allows developers to create rich internet applications without the need for third party APIs and browser plug-ins.  Under the banner of HTML5, modern web standards such as CSS3, SVG, XHR2, WebSockets, IndexedDB, and AppCache are pushing the boundaries for what a browser can achieve using web standards.  This Microzone is supported by Microsoft, and it will delve into the intricacies of using these new web technologies and teach you how to make your websites compatible with all of the modern browsers.