kendoui_for_aspdotnet_mvc_web_widgets

19
Kendo UI for ASP.NET MVC – Web Widgets

Upload: mindfire-solutions

Post on 18-Dec-2014

880 views

Category:

Technology


0 download

DESCRIPTION

Kendo UI/Telerik UI for ASP.NET MVC is a set of server side wrappers that allow using the Kendo UI widgets from C# or VB.NET code.

TRANSCRIPT

Page 1: KendoUI_for_aspdotnet_mvc_web_widgets

Kendo UI for ASP.NET MVC – Web Widgets

Page 2: KendoUI_for_aspdotnet_mvc_web_widgets

Kendo UI/Telerik UI for ASP.NET MVC is a set of server side wrappers allow using the Kendo UI widgets from C# or VB.NET code.

–Presented By: Swati Gupta Mindfire Solutions 13/02/2014

Introduction

Page 3: KendoUI_for_aspdotnet_mvc_web_widgets

Overview

Installation and Getting Started Create new Kendo UI project. A deeper look into widely used Kendo Web Widgets– Kendo UI AutoComplete– Kendo UI ColorPalette and ColorPicker– Kendo UI ComboBox– Kendo UI MultiSelect– Kendo UI PanelBar– Kendo UI Window– Kendo UI TabStrip– Demos on each widget.

Page 4: KendoUI_for_aspdotnet_mvc_web_widgets

Installation and Getting Started Download Install Create New KendoUI project

Page 5: KendoUI_for_aspdotnet_mvc_web_widgets

AutoCompleteView:

Page 6: KendoUI_for_aspdotnet_mvc_web_widgets

AutoComplete-UI

Page 7: KendoUI_for_aspdotnet_mvc_web_widgets

ColorPalette and ColorPickerview

Page 8: KendoUI_for_aspdotnet_mvc_web_widgets

ColorPalette and ColorPicker -UI

Page 9: KendoUI_for_aspdotnet_mvc_web_widgets

ComboBoxView: <div> <h3>T-Shirt Fabric</h3> @(Html.Kendo().ComboBox().Name("Fabric").Filter("contains").Placeholder("Select Fabric..").DataTextField("Text") .DataValueField("Value") .BindTo(new List<SelectListItem> { new SelectListItem() { Text = "cotton", Value = "1" }, new SelectListItem() { Text = "polyester", Value = "2" }, new SelectListItem() { Text = "Rib Knit", Value = "3" } }) .SelectedIndex(2) .Suggest(true) )

<h3>T-shirt Size</h3> @(Html.Kendo() .ComboBox() .Name("size") .Placeholder("Select size...") .BindTo(new List<string>() { "X-Small", "Small", "Medium", "Large", "X-Large", "2X-Large" }) .SelectedIndex(3) .Suggest(true) ) </div>

Page 10: KendoUI_for_aspdotnet_mvc_web_widgets

ComboBox UI

Page 11: KendoUI_for_aspdotnet_mvc_web_widgets

MultiSelectView:

<h5>Required</h5> @(Html.Kendo() .MultiSelect().Name("Required").Placeholder("Select attendees...").HighlightFirst(true) .BindTo(new List<string>() { "Steven White", "Nancy King","Anne King","Nancy Davolio","Robert Davolio","Michael Leverling", "Andrew Callahan","Michael Suyama", "Anne King","Laura Peacock", "Robert Fuller","Janet White", "Nancy Leverling","Robert Buchanan", "Andrew Fuller","Anne Davolio", "Andrew Suyama","Nige Buchanan","Laura Fuller" }) )

Page 12: KendoUI_for_aspdotnet_mvc_web_widgets

PanelBarView:@(Html.Kendo() .PanelBar() .Name("panelbar1") .ExpandMode(PanelBarExpandMode.Single) .HtmlAttributes(new { style = "width:300px" }) .Items(panelbar => { panelbar.Add().Text("Men Screening").Items(subItems => { subItems.Add().Text("SubPanel1"); subItems.Add().Text("SubPanel2"); subItems.Add().Text("SubPanel3"); }); panelbar.Add().Text("Women Screening"); panelbar.Add().Text("WH"); }))

Page 13: KendoUI_for_aspdotnet_mvc_web_widgets

WindowView:@(Html.Kendo().Window().Name("customWindow") .Height(350) .Width(750) .Title("Penguins") .Scrollable(false) .Resizable() .Draggable() .AutoFocus(true) .Modal(true) .Actions(action => action.Maximize().Minimize().Close()) .Events(events => events.Close("OnClose")) .Content(@<text> <p>Sample content...</p> </text>))

Page 14: KendoUI_for_aspdotnet_mvc_web_widgets

TabStripView:@(Html.Kendo() .TabStrip() .Name("tabstrip") .Items(tabstrip =>{

tabstrip.Add().Text("Paris").Selected(true).Content("This is first tab content");

tabstrip.Add().Text("New York").Content("This is second tab content");

tabstrip.Add().Text("Moscow").Content("This is third tab content");

tabstrip.Add().Text("Sydney").Content("This is fourth tab content");

}))

Page 15: KendoUI_for_aspdotnet_mvc_web_widgets

- -Can be independently used in our webpage.- Highly customizable widgets.- Configuration options available.- Attach events.- Easy to use and implement.- Saves lot of time.

Summary

Page 16: KendoUI_for_aspdotnet_mvc_web_widgets

References

- There are many more such web widgets available. Please check it out - http://demos.telerik.com/kendo-ui/web/overview/index.html.

Page 17: KendoUI_for_aspdotnet_mvc_web_widgets

Queries?

Page 18: KendoUI_for_aspdotnet_mvc_web_widgets
Page 19: KendoUI_for_aspdotnet_mvc_web_widgets

www.mindfiresolutions.com

https://www.facebook.com/MindfireSolutions

http://www.linkedin.com/company/mindfire-solutions

http://twitter.com/mindfires