Quantcast
Channel: Blogs - Web
Viewing all 380 articles
Browse latest View live

Enjoy the New Project Creation Dialog for UI for ASP.NET MVC

$
0
0

We've redesigned Project Wizards to help you build beautiful web projects. Create, configure and update your ASP.NET MVC projects more easily than ever.

Telerik UI for ASP.NET MVC is a powerful UI framework with more than 70 components to help you develop beautiful web projects quickly and easily. With this blog post I'd like to present the latest Telerik UI for ASP.NET MVC VSExtensions improvements you can benefit from: the renovated Project Creation, Project Configuration and Project Upgrade wizards.

Project Creation Wizard

The redesigned Create Project wizard aims to help you create new ASP.NET MVC projects with the Telerik ASP.NET MVC components faster and in a reliable way. You can start the New Project Wizard from File -> New -> Project in Visual Studio and navigate to the Telerik ASP.NET MVC project templates under Telerik -> Web node:

Create a New Project
Figure 1. Create a New MVC Project with Telerik UI for ASP.NET MVC

Along with the new refreshed look and feel, you can find predefined project templates. There are also options for selecting the preferred coding language and the targeted ASP.NET MVC and Telerik UI for ASP.NET MVC versions.

Project Configuration Wizard

The Project Configuration wizard allows you to customize an already created project. This is done by specifying the Visual theme, rendering the app in RTL mode, copying the global resource files and activating the Kendo UI CDN support. You can launch the dialog through the VS menu -> Telerik -> UI for ASP.NET MVC -> Configure Project:

Configure Theme
Figure 2. Project Configuration Wizard - Theme Configuration Step
 

Configure Settings
Figure 3. Project Configuration Wizard -  Settings Configuration Step
 

Project Upgrade Wizard

This wizard allows you to update the following in your Telerik UI for ASP.NET MVC application:

  • References to the Telerik assemblies to a newer version installed on your machine
  • The project's config files
  • The RESX resources files
  • The Editor templates
  • The web page/user control references to the Telerik assemblies, if such exist

And finally, it allows you to backup the original projects before the upgrade.

You can start the Upgrade Wizard through the Visual Studio menu by clicking on Telerik -> UI for ASP.NET MVC -> Upgrade Wizard.

Upgrade Wizard
Figure 4. Upgrade Project Wizard
 

Project Convert Wizard

Last but not least, you can also convert existing ASP.NET MVC 4 and 5 applications to a Telerik UI for ASP.NET MVC application. The wizard will allow you to choose the version of Telerik UI for ASP.NET MVC to be used in the project, to specify the theme and other project settings such as RTL support, copy editor templates, copy global resources and enable/disable the Kendo UI CDN support.

You can find more information in the Convert Project article.

We Value Your Feedback

We are always trying to follow and apply modern UX trends to our products and configurators, so I hope you'll find the user experience of the rebranded project creation, configuration, conversion and upgrade wizards useful, easier and joyful to work with. We're also happy to hear your feedback and feature requests in the comments section below.


New Controls and More in UI for ASP.NET AJAX R3 2016

$
0
0

In the latest release, we've added lots of new features to help you develop ASP.NET apps quickly and easily. Learn more and check out our new demos.

The third official release of the UI for ASP.NET AJAX suite is officially here, and, most likely already installed by many of you. The release includes brand new CheckBoxList and RadioButtonList controls, the ability to customize the Gantt visible range, new Dashboard demo and Spreadsheet improvements.

RadioButtonList and CheckBoxList

The two lists are welcome additions to the extensive form elements collection—the first one being suitable for multiple choices, while the second one allows users to pick a single choice from the provided items list. Follow the links below to see the controls in action:

Customizing the Gantt Chart Visible Range

A new addition to the Gantt API is the ability to set the selected date and to modify the start/end dates of the visible range. You can do that both on the server and on the client. Check out the demo that shows how that works.

Sales Dashboard Demo

The Sales Dashboard demo shows what many of our users request—a real life example that combines the controls and shows the implementation of a complex scenario. Of course, its source code is also available—you may safely use it as a stencil for your next project!

Spreadsheet Improvements

The Spreadsheet control now supports hyperlinks in cells—one of the most popular requests from its users. You can check out how the feature works at the updated full set of tools demo.

… And a Lot More

The list above is just a sample of the numerous features and improvements shipped. For a thorough list of all the upgrades we've implemented, bugs we've fixed and new features we've added, check the full release history.

As always, your feedback is very important to us. Let us know what you think of the latest release or what you'd like to see next in the comments.

 

Kendo UI R3 2016 Release Webinar Wrap Up

$
0
0

We wrap up another exciting webinar for the Kendo UI R3 2016 release. This release features Kendo UI for Angular 2 as well as new widgets!

Earlier this week, we hosted the Kendo UI R3 2016 release webinar. The webinar was hosted by John Bristowe, Todd Motto and Ed Charbeneau, who walked you through the latest and greatest features of Kendo UI. This release had a lot of new features and improvements worth highlighting. This blog post summarizes the event and provides answers to the questions that were asked by attendees.

Webinar Recording

If you were unable to join us for the live webinar, don't worry: we've posted the recording to our YouTube channel.

Prize Winners

We love prizes and giveaways. Who doesn't? A Kendo UI release webinar wouldn't be complete without some epic prizes! Here are our two winners:

Selected at random, our attendee winner is Anna Schmalholz. Anna, you have won an Xbox One S (2TB). Congratulations!

Xbox One S

The best question was asked by Mike Hwang during the webinar. Mike, you've won an Oculus Rift. Awesome stuff!

Oculus Rift

Questions and Answers

Component Styling

Can you apply custom styles (SCSS-based) with Kendo UI for Angular 2?
Yes, the two themes provided (default and bootstrap) can be customised. More information can be found here: customizing the default theme and customizing the bootstrap theme.

Why must we include the CSS for Kendo UI components and they are not just included in the @Component that you created?
You can do both, including at component level will allow Shadow DOM (native or emulated) style encapsultion.

How may I use Kendo UI Angular 2 in Visual Studio 2015?
Documentation is available on how to set up Angular 2 with Visual Studio from the Angular team. Integrating Kendo UI for Angular 2 can be done via the steps outlined in the getting started guide we've provided.

Are Sass or Less files available for the controls styling?
Yes. We're also adding Sass themes for the next release of Kendo UI for jQuery and Kendo UI for Angular 2.

How can we theme/customize the styles for the widgets in Kendo UI for Angular 2?
You can customize using CSS overloads or using Sass.

Migrating to Kendo UI for Angular 2

How can I upgrade my existing Angular 1.5 and Kendo UI v2016.1.406 application to Angular 2 with the new Kendo UI for Angular 2?
I would recommend checking out ngMigrate to help you understand what's required when moving from Angular 1.* to Angular 2.

To what level we will require re-write if we have to move to Angular 2?
This is a difficult question to answer since it depends on what version of Angular you're currently targeting. We have created ngMigrate to help you understand what's required when moving from Angular 1.* to Angular 2.

Does Kendo UI for jQuery still support Angular 1.*?
Yes! Kendo UI for jQuery is the same product it has always been. The new name was given to identify it from Angular 2.

What is the recommended way to bridge the gap as we wait for new components to become available?
Targeting Angular 1.5 and Kendo UI for jQuery should position you well to move to Angular 2 and Kendo UI for Angular 2 at a future date.

Is the API of Kendo UI for Angular 2 similar/identical to the API of Kendo UI for jQuery?
We have documentation for each component and their APIs that we ship with Kendo UI for Angular 2. We've used similar/identical APIs where it makes sense to do so in Kendo UI for Angular 2. However, these products are quite different in terms of their approaches towards things like databinding, etc. Therefore, you should expect some differences.

Roadmap

Will everything you've shown be available for use in Telerik Platform?
The R3 2016 release of Kendo UI for jQuery should be available in the next version of AppBuilder. Going forward, our tooling will provide tooling and service integrations with Angular 2 for both hybrid and native apps. Currently, Kendo UI for Angular 2 is available as a beta release. At the moment, we haven't announced integration of Kendo UI for Angular 2 in Telerik Platform via AppBuilder.

Are you planning to extend current API for already implemented controls such as the Button and DropDownList components?
We're always looking to improve the APIs for existing components. For example, in the latest release of Kendo UI for jQuery, we improved the API for the Upload widget to support common use-case scenarios like drag and drop custom drop zones. We also added new callbacks to respond to events associated with user actions.

Will Kendo UI Builder will be updated to work with Angular 2?
Currently, Kendo UI Builder supports Angular 1.5. We have not announced plans to support Angular 2 at this time.

Is Less supported in Kendo UI for jQuery? Or, has it been abandoned in favor of Sass?
We support both. In the R1 2017 release, we plan to introduce two new Sass themes for Kendo UI for jQuery: Default and Bootstrap v4. These will be integrated and available for Kendo UI for Angular 2 in the RC.0 release.

I'm eager to see a NumericTextBox in Kendo UI for Angular 2. When are you planning to release such a control?
The NumericTextBox component will ship in the RC.0 release, which is scheduled for January 18, 2017. You can read more about the next version of Kendo UI for Angular 2 on our roadmap page.

Roadmap-and timeline-wise, when will Kendo UI or Angular 2 reach some level of feature parity with the Kendo UI for jQuery that we've been using with Angular 1.*? We depend on features like the Grid's ability to export to Excel. When can we expect this level of maturity and completeness in the new Angular 2-based components?
We have published the roadmap for Kendo UI for Angular 2 and will maintain this page for future releases.

Are the components in Kendo UI for Angular 2 broken up into base (free) and premium (paid)?
Kendo UI for Angular 2 is a new addition to the Kendo UI family of commercial products. When the product is officially released in 2017 it will be backed by the same level of professional support & scheduled updates that you’ve come to expect from the Kendo UI team.

Have you considered supporting Vue.js?
We don't currently have support for Vue.js on our roadmap. If you would like to see support, please visit the feedback portal for Kendo UI and let us know.

Where is the roadmap of remaining components of Kendo UI for Angular 2? I'm interested in the MaskedTextBox and DatePicker components.
We've published the roadmap for the RC.0 release, which is scheduled to ship on January 18, 2017. This release will include the MaskedTextBox and DatePicker components.

npm and Package Management

How do we use npm within an organization? We can't have our users passwords stored in source control.
npm Enterprise allows you to run npm's infrastructure behind your company's firewall.

Why did you decide to use only npm as package manager for shipping Kendo UI for Angular 2? What about Bower?
The Angular 2 team does not support Bower (#4018). Futhermore, npm is used by many frontend communities. Along with other reasons, this is why we decided to use npm.

Where can we track new releases of Kendo UI for Angular 2?
New releases that are posted to npm can be tracked via hooks. We'll also make sure to publish readme documentation and/or blog posts for future updates.

How can I find out when new releases are published to npm? (i.e. @progress/kendo-angular-grid)
You can received notifications via hooks from npm.

Kendo UI for React

Can you give more information on the roadmap for Kendo UI for React?
Petyo Ivanov (Product Manager for Kendo UI) published a blog post that summarises our current position on Kendo UI for React. I would recommend reading it.

Will a Kendo UI for React package be standalone like Kendo UI for Angular 2?
At the moment, we have a set of React wrappers for Kendo UI for jQuery. Petyo Ivanov (Product Manager for Kendo UI) has summarised our current position on Kendo UI for React.

Grid Component

Can you do groupable on the Grid component in Kendo UI for Angular 2?
Not at this time.

Does the Grid in Kendo UI for Angular 2 allow for server-side sorting/paging?
Not at the moment.

Does the Grid component in Kendo UI for Angular 2 support the same attributes (i.e. header attributes, row templates) as the one in Kendo UI for jQuery supports?
No, there are features that are currently missing from the Grid component in Kendo UI for Angular 2. These features will be added once prerequite components (i.e. DatePicker) are built.

How soon do you expect to have support for all features/functionality for the Grid component in Kendo UI for Angular 2? Specifically, I'm looking for features like filtering.
The RC.0 release of Kendo UI for Angular 2 will add components that are required for the Grid component to support operations like filtering. This is scheduled to ship on January 18, 2017.

When will edit functionality be supported for the Grid component in Kendo UI for Angular 2? Is there going to be a new roadmap for further widgets developed with Angular 2?
Features like editing will be added to the Grid component once additional components are added. Please refer to our getting started guide for Kendo UI for Angular 2 for future updates.

Are all features/functionality available for the Grid component in Kendo UI for Angular 2?
No. Features like filtering for the Grid component are not currently available in the beta release of Kendo UI for Angular 2. This is because we're missing prerequisites like the DatePicker component. Note: The DatePicker component is scheduled to ship with the RC.0 release in January 2017.

Miscellaneous

Instead of waiting for all of the Kendo UI Angular 2 to be completed, can we combine Kendo UI for ASP.NET Core in our application with Kendo UI for Angular 2?
Yes, this is an approach that works well for developers wanting to use ASP.NET Core and Angular 2 with Kendo UI.

When will Kendo UI support Visual Studio Code? I'd like something similar to what's supported with NativeScript.
You can use Kendo UI in Visual Studio Code today. Features like statement competition are supported through Kendo UI for Angular 2 through TypeScript.

What is Todd's development environment? (i.e. editor)
Todd uses Atom, which is an excellent editor. Visual Studio Code is a great option as well.

What are the steps to set up Kendo UI for Angular 2 on an angular-cli scaffolded project?
Please refer to our getting started guide for Kendo UI for Angular 2 to see the steps that are necessary.

Does the beta release of Kendo UI for Angular 2 cover all of the components? Or, only a subset?
The beta release of Kendo UI for Angular 2 is our initial offering. More features and widgets will come in the RC.0 release, which is scheduled for January 18, 2017.

Is it easy to use single code base to target desktop and mobile platforms using Kendo UI and Ionic?
Angular 2 faciliates the use of the “underlying plumbing” for your application that would be used across platforms. However, we advocate the use of NativeScript to target mobile and have provided guidance on how to migrate from hybrid and native.

Any plans on allowing native component scrollbar skinning?
The Grid widget for Kendo UI relies on the built-in browser scrollbar. This question on Stack Overflow details how to style the scrollbar in Internet Explorer, WebKit (Safari, Google Chrome) and Opera.

How can I get autocomplete to appear when I press the dot in Visual Studio?
This feature is called IntelliSense. You will see this when using UI for ASP.NET MVC or UI for ASP.NET Core HTML helpers. These are essentially Kendo UI wrappers.

Are the default dialogs culture aware?
Yes, the dialogs are culture aware.

Do you have a tutorial or link for integrating the JSDO JavaScript library with Kendo UI for Angular 2?
The closest reference we have currently is our whitepaper, Using the Progress JSDO with Kendo UI.

When will the JSDO be support by the DataSource component of Kendo UI?
It's supported now. Please read through our whitepaper entitled, Using the Progress JSDO with Kendo UI to learn more about this.

Is it possible to import all components in one go?
No. You have to import each component separately.

Does the DropDownList component support OData?
Yes, databinding for the DropDownList is supported. If you're implying the use of the DataSource component from Kendo UI for jQuery in Kendo UI for Angular 2: we do not plan to have a DataSource component in Kendo UI for Angular 2. We believe that having a DataSource component—like the one in Kendo UI for jQuery—does not fit in the Angular 2 context. The framework already provides most of the DataSource functionality such as ability to fetch data, change tracking etc. Also there are plenty of libraries and patterns for working with data. Thus, having a single component to handle all of those seems more of a unnecessary constraint.

If I were to bind to (filterChange) of the ComboBox component in Kendo UI for Angular 2 with an event handler that will debounce, query an API and update the member bound to [data] with the results, would that give me AutoComplete-like functionality? Is the planned AutoComplete component going to do more on top of that?
The ComboBox component supports a primitive AutoComplete-like functionality as well as binding to an asynchronous source. You could get close to implementing something to what you've described.

Thank You

Thanks everyone again for joining, we’ll see you next time! If you have any feedback, please feel free to leave it in the comments section below.

Announcing the Telerik DevCraft R3 2016 Release Webinar

$
0
0

Join us for a webinar to learn about the latest upgrades to our DevCraft development tooling suite—all designed to make your life as a developer easier.

It is Fall for most places in the northern hemisphere. The weather is crisp and the foliage is colorful. And even if you are a not-so-social developer, it is time to step out and enjoy the outdoors. The time is ripe to take a long walk or enjoy a vacation with your family.

And yet, you are stuck in your office. That estimate of yours has somehow become a hard deadline. Why doesn’t anybody else understand that writing software is often like art—solving problems elegantly and writing clean code cannot be done under the gun. Time to chin up though—because your beloved Telerik DevCraft suite is here with the 2016 R3 release. To deliver your software development projects on time and to delight your users, you need awesome tooling. Modern, cutting-edge developer tooling should elevate your development experience and enable you to deliver solutions faster than what you would have envisioned even a few months back. That’s exactly what the latest DevCraft release promises. No matter what be your app platform—mobile, web or desktop—this R3 release has something for you.

Come join Telerik Developer Advocates John BristoweEd Charbeneau and Sam Basu on Oct  25th @ 11 am EST for the DevCraft R3 2016 release webinar. We’ll unpack platform-specific functionality to elevate your app development and provide a developer’s perspective of what’s new in Telerik DevCraft. This is one of the BIGGEST DevCraft releases ever—no kidding.

Here’s a quick glimpse of what we will unpack during the webinar:

Web UI

  • A brand new product suite—Telerik UI for ASP.NET Core, for the cutting edge web developers. Leverage the latest lean modular and cross-platform ASP.NET Core, while lighting up your app with polished UI.
  • Another new product, hot off the press—Kendo UI for Angular 2 (Beta). A new version of your beloved Kendo UI that is now jQuery-free, written in TypeScript and designed from the ground up to offer true, native Angular 2 components.
  • Traditional Kendo UI is now Kendo UI for jQuery—keep using it for jQuery, React and Angular 1.X web development. Included in the R3 release for Kendo UI is the new Media Player and Dialog widgets, as well as data entry enhancements in the Spreadsheet and all dropdown controls.
  • New Dialog and Media Player components for Telerik UI for ASP.NET MVC, plus improvements in AutoComplete, ComboBoxEditor, Scheduler and more.
  • New CheckBoxList and RadioButtonList components, Bullet and Vertical Box Plot chart types in Telerik UI for ASP.NET AJAX, and a modernized demo app that works with Bootstrap 4.

Mobile UI

Desktop UI

Reporting and Report Server

Prizes

We really appreciate you taking the time to join the upcoming DevCraft R3 release webinar. But what's a Progress webinar without some cool prizes? You are in the running to win a prize just for attending the webinar. Extra cookie points for interactions! We love all your questions during the webinars—use #AskTelerik to do so—please keep them coming.

Here are the prizes that are up for grabs:

  1. Oculus Rift: For the best question. Because the world is just a better place with VR.
  2. Xbox One S 2TB Console: Just for attending. Because gaming is in developer DNA.

Limited only by official Telerik sweepstakes rules.

Don't Miss the Latest DevCraft Webinar!

As you can see, Telerik DevCraft R3 2016 is a packed release, enabling you to focus on feature functionality in your chosen development platform. We can’t wait to show you all the developer goodies that are baked in.

What are you waiting for? Register today and come join us for the DevCraft R3 2016 Release webinar on the 25th. It’s going to be a great time and we cannot wait to see you there!

Register Me for the Webinar

Meet UI for ASP.NET Core

$
0
0

Learn about one of our latest products—a fully-featured standalone UI for ASP.NET Core to help you develop ASP.NET Core apps fast.

As of R3 2016, we have separated our ASP.NET Core offering in a separate product, named UI for ASP.NET Core. With this move we seek to clarify our commitment to and focus on the ASP.NET Core technology in general.

What's UI for ASP.NET Core?

UI for ASP.NET Core is the most complete UI suite for ASP.NET Core development on the market today, with over 60 tried-and-tested components, based on Kendo UI. You will find UI components for every need: data management (Grid, PivotGrid, ListView, and more), navigation and layout (Menu, TreeView, Window, Splitter, etc.), visualization (Charts, Barcodes, Gauges), editing (Spreadsheet, Editor, combobox, etc.), interactivity and more.

Telerik ASP.NET Core components are comprised of the award-winning Kendo UI HTML5/JS widgets and their server-side wrappers for ASP.NET Core. The wrappers generate the JavaScript and HTML required by the Kendo UI widgets enabling you to use C# to configure them. Telerik UI for ASP.NET Core ships the same built-in functionality as Kendo UI, but offers Core-specific features on top, including:

  • Server-side data binding and in some cases server-side rendering
  • Support for unobtrusive validation based on Data Annotation attributes
  • Visual Studio Intellisense for the server-side configuration syntax
  • Visual Studio Extensions for automatic creation of new applications
  • Built-in editor templates

The suite is fully responsive and mobile-friendly, built on the top of the Telerik web expertise:

  • All components render larger clickable areas on small screens and scale proportionately to the container in which they are placed
  • All components integrate well with grid-layout frameworks, such as Bootstrap and Zurb Foundation
  • The complex and popular components, such as grid and scheduler, serve different rendering on small screens to provide optimal user experience.

Finally, UI for ASP.NET Core offers 11 built-in, yet customizable themes which allow you to build sleek, modern apps without a designer on-hand. Registering the CSS styles of the theme on the page is all it takes to theme your project with one of the skins. To apply the professional themes on normal HTML elements, like buttons and inputs, simply use the basic CSS classes included in UI for ASP.NET Core.

Why Is It a New Suite?

We announced official ASP.NET Core 1.0 support in our UI for ASP.NET MVC in mid-July 2016. This announcement was made in the middle of our release cycle and it made sense at that point of time—Microsoft called the product MVC6 until shortly a few months before the official ASP.NET Core release (so it was OK to support it on our MVC suite). In addition, you had something to play with early on (and many of you did. Thank you!)

But it turned out that this approach 1) wasn’t the correct one and 2) didn’t scale very well. While similar, differences between the ASP.NET MVC and ASP.NET Core are present, and specifics (cross-platform deployment, tag helpers) of the new branch are going to confuse the users who have not migrated yet. The new users on the other side would prefer to deal with content that’s 100% relevant to what they do.

I Own UI for ASP.NET MVC. What Does This Mean to Me?

Just like UI for ASP.NET MVC, the UI for ASP.NET Core product is part of the Kendo UI Complete bundle. In addition, both products are part of our DevCraft bundles. If you own any of these, you won’t have to pay any additional fee to obtain the new suite. It is already available in your account.

What’s Next for UI for ASP.NET Core?

In terms of features, the separate product means that we will maintain a separate set of resources for the new product. We already separated the demos (ASP.NET MVC from ASP.NET Core). As we move forward, we are also maintaining a separate roadmap, focused on the product specific features. One of the significant items in the current iteration would be to extract the documentation from the main Kendo UI docs.

Meanwhile, you may browse the demos and let us know which are the features you’re missing in our UserVoice portal. We would love to hear more from you!

See UI for ASP.NET Core in Action!

Register today and come join us for the DevCraft R3 2016 Release webinar on Oct. 25th, which will feature a demo of UI for ASP.NET Core among other things. It will also offer some cool prizes—you are in the running to win a prize just for attending the webinar. Extra cookie points for questions! Here are the prizes that are up for grabs:

  1. Oculus Rift:  For the best question. Because the world is just a better place with VR.
  2. Xbox One S 2TB Console: Just for attending. Because gaming is in developer DNA.

Limited only by official Telerik sweepstakes rules.

Register Me for the Webinar

Adding AoT and Universal Support for Kendo UI for Angular 2

$
0
0

Learn about the benefits of AoT compiling and Universal rendering, and how to apply that to your Kendo UI for Angular 2 components.

AoT and Universal support is here (well, almost—some of our beta components now have support and we’re rolling out more support in the next week). But what does that mean? Firstly, AoT means “Ahead-of-Time,” referring to Angular 2’s compiling at the build-step. Secondly, Universal support means Angular Universal—think server-side rendering.

Let’s explore what this means for you using Kendo UI for Angular 2. Get ready for performance!

Ahead-of-Time Compiling

Angular’s AoT compiling means that we can essentially ship a pre-compiled version of our application to the browser. Think “offline compiling,” where Angular will transform your templates before you’ve even deployed the app to production for example.

Angular 1.x had an internal compiler, and so does Angular 2. Angular 2’s compiler can be used (indirectly) in two different ways, AoT or JiT (Just-in-Time).

Let’s cover JiT quickly so you can understand the benefits of AoT. Using JiT is essentially what you’ll get whilst developing Angular 2 applications. You’ll be coding “live” and shipping Angular 2 template code to the browser each time you make a change, and Angular will compile it for you there.

This can be slower than pre-compiling, because the Angular 2 compiler makes up around half of Angular 2 itself. So that’s a huge payload saving as soon as the browser has rendered the page.

Now, where things get really exciting is what AoT actually does for performance. Because with AoT we are pre-compiling, Angular skips the compile phase, meaning it pushes fully renderable code to the browser. The compiler also inlines external HTML templates and CSS style sheets within the application JavaScript, eliminating separate AJAX requests for those source files. AoT compiles HTML templates and components into JavaScript files long before they are served to the client. With no templates to read and no risky client-side HTML or JavaScript evaluation, there are fewer opportunities for injection attacks.

Angular core team member Rob Wormald has an excellent performance demo that demonstrates the performance before AoT and after AoT that I’d highly recommend checking out.

You can read more about AoT here.

Angular Universal

Angular Universal is absolutely fantastic, and allows you to render on the server. Adding support for our Kendo UI for Angular 2 components is a must, to allow you to build applications with the scalability and performance measures Angular 2 promotes itself.

With Angular Universal rendering, we can render initial client-side views on the server, allowing us to hydrate the DOM with Angular 2 once the initial view has been rendered. This is much faster than straight up compiling in the browser (even with AoT support). Universal rendering is powerful, but adds complexity to client-side application development, as some of the routing and data-fetching logic is moved to the server to populate initial views rendered for users.

According to research at Google, the difference of just 200 milliseconds in page load performance has an impact on user behavior.

Kendo UI for Angular 2 Components

You can follow the progress of our component development, which at the time of writing is in our beta release phase, by visiting the official website. What’s more, each component has a full changelog that you can dig through and see the support and new features we’re adding. A few examples of our changelogs:

We’re focusing on keeping the changelogs visible, so you can see what’s being worked on at the individual component level. Keep an eye on things as we’re excited to be adding more AoT, Universal and many more features and native Angular 2 powered support to our components!

The Feedback Portal for Kendo UI for Angular 2 Is Now Available

$
0
0

Do you have feedback for the new Kendo UI for Angular 2? Let us know in the new dedicated portal, and help us develop our roadmap.

The most frequent kind of questions we've received since launching the Kendo UI for Angular 2 beta have been along the lines of, "When can we expect Feature X." To give you better visibility into our plans, we have recently published a dedicated Roadmap page on our website—make sure that you review it if you have not done so already.

Does it feel a bit thin? True to the spirit of Kendo UI, we have left some space for, you got that right, items which you need the most in your Angular 2 projects. You can post your feature requests in the newly created section of our UserVoice portal—Kendo UI for Angular 2 feedback. You get a new lot of 15 votes to cast for existing and new ideas; the votes are not shared with the jQuery section. Based on what we've heard so far, we posted some initial features based on the popular widgets in our jQuery suite.

Now, go ahead and upvote the Scheduler Component suggestion! We would love to hear more about the features you find essential in the comments section.

DevCraft R3 2016 Webinar Wrap-Up

$
0
0

Learn what's new in the latest release of our DevCraft development tool suite, as we answer your questions from our release webinar.

Earlier this week, we hosted a webinar that highlighted everything new in the R3 2016 release of Telerik DevCraft. My co-hosts (Todd Motto, Ed Charbeneau and Sam Basu) and I had a wonderful time showing you the latest features in this release and answering your questions. I’d like to thank everyone who was able to attend. Taking time out of your busy schedule isn’t easy so we really appreciate it. As promised, a recording of the webinar has been posted to our YouTube channel.

tl/dr: What’s New

I’d recommend reading what’s new in Telerik DevCraft R3 2016 to get a summary of the latest features we’ve implemented. We’ve also published detailed blog posts highlighting the latest features in many of the products included in Telerik DevCraft:

Over 100 Improvements Packed in the R3 2016 SP of UI for WPF
Meet UI for ASP.NET Core
Export Faster and More in UI for WinForms R3 2016 SP1
New Controls and More in UI for ASP.NET AJAX R3 2016
Enjoy the New Project Creation Dialog for UI for ASP.NET MVC
Kendo UI for jQuery (R3 2016)
New 3D Chart in UI for WPF
Improved ObjectDataSource Security in Reporting
UI for Android Brings AutoCompleteTextView and Gauges (Beta)
R3 2016 Brings New Improvements to UI for WPF, Silverlight
UI for Xamarin Now Officially Supports UWP
Report Server Exposes RESTful APIs and More in R3 2016
Reporting R3 2016 Arrives Packed with New Features
New Mapping Visualization, More in UI for WinForms R3 2016

A recording of the webinar is available on YouTube if you missed the webinar or just want to watch it again:

We also took the liberty of publishing the video of each product segment separately:

What’s New in Telerik UI for ASP.NET Core (R3 2016)
What’s New in Telerik UI for ASP.NET AJAX (R3 2016)
What’s New in Telerik Reporting (R3 2016)
What’s New in Telerik UI for Xamarin and UWP (R3 2016)
What’s New in Telerik UI for ASP.NET MVC (R3 2016)

We’re trying to save you time so you can only watch the segments which interest you (without having to watch the entire webinar).

Prize Winners

Historically, we’ve given a prize to the attendee who asks the best question during the webinar. This time is no different. The biggest problem we have is trying to find prizes that are cool enough for developers!

The winner of the Oculus Rift (for the best question) is Jamieson Gill.
The winner of the Xbox One S 2TB Console (for attending) is Ron Mercer.

Your Questions

We decided to do something a little different for the R3 2016 release webinar of Telerik DevCraft. We invited attendees to ask questions via Twitter using the #AskTelerik hashtag:

ask-telerik

The volume of questions we received was insane. A lot of great questions were asked. For example:

Steven Pownall Tweet from Telerik DevCraft R3 2016 Release Webinar

Please check out the Twitter hashtag, #AskTelerik hashtag on Twitter f you want to see the rest of the questions along with our answers.

We also had many excellent questions come in through the INXPO webinar. Here’s a few of them:

The sparkline is impressive. Are there any options for auto drill-in?
Not out-of-the-box. However, you could utilize the API to achieve this.

The DropDownList control looks awesome. Is it touch compatible?
Yes, the control supports touch.

Any improvements done on events for the TabStrip control?
Not for this release. If you have any feedback, please let us know! You can send us a suggestion through our feedback portal or submit an issue to the Kendo UI Core repository on GitHub.

Is there an example of implementing an endpoint that’s targetted by the saveUrl configuration parameter for the Upload control?
I’d recommend the article, Sending HTML Form Data in ASP.NET Web API: File Upload and Multipart MIME. It includes code source on how to do this.

How easy would be to jump from a traditional control to ASP.NET Core controls and Angular? Would Telerik bring all the controls created in the new version?
The experience is almost identical if you’re moving from Telerik UI for ASP.NET MVC to Telerik UI for ASP.NET Core. It’s a whole different experience if you’re moving from Telerik UI for ASP.NET AJAX (with WebForms) to Telerik UI for ASP.NET Core.

I use the Spreadsheet processing extensively. What additional support and enhancements have been added?
Spreadsheets are all about data entry, so a number of enhancements have been made to the Spreadsheet. The most notable is the support for custom editors providing the ability to add any Kendo UI widget to a cell. Also included is the ability to select date/time values from a picker and the ability to select values from a list. Additionally, support has been added for using defined names in formulas, which allow for the naming of a cell range, function or constant.

In an application based on ASP.NET Core, can you dynamically bind to a new table or table changes in a database at runtime? Or, do you have to rebuild the application to see changes in the table structure when displaying data in a grid?
I believe this would depend more on your data access layer of your application (i.e. Entity Framework). Your database context would need to be updated to reflect schema changes in a database.

Have you added anything in Telerik UI for ASP.NET Core that makes it easier to utilize the screen’s width on the high resolution monitors, thus eliminating the excess space for the right and left margins?
This seems related to Bootstrap or just CSS styles in general. You should try our whitepaper on Responsive Web Design as it explains how to eliminate margins and gutters in Bootstrap.

Will the Sass support for Kendo UI be updated to support Telerik UI for ASP.NET Core and Telerik UI for ASP.NET MVC? Will we have a version of Kendo UI that will have true Sass support (across the board) so we can fully customize the style in the same workflow?
Good news! This is on our roadmap.

The Kendo UI upload control makes uploading of multiple files at a time very easy. But if you want to remove for example the second of 4 uploaded files that’s not possible. You could remove all 4 or none. Would be great if removing single files from a group of combined uploaded files is possible.
You’ll have access to the files array. You can mutate your state where needed inside the component class (for Angular 2).

Is all the documentation for angular 2 in TypeScript or is there plain JavaScript examples as well?
Mostly TypeScript, which I’d advise rolling with over ES6/ES5.

We are starting a project and we have the liberty to choose from any Telerik products. Which one would you recommend: Kendo UI for JQuery or Telerik UI for ASP.NET MVC and why.
Kendo UI if your team is really efficient with jQuery and JavaScript; Telerik UI for MVC if you enjoy IntelliSense, scaffolding, and less JavaScript; Telerik UI for Core if you plan to utilize core and TagHelpers in the future.

What is your recommendation when it comes to configuring your controls – use JQuery or Razor? Which is more performant and why?
It’s a matter of preference. Performance should be identical as the rendering is 100% the same. It depends on how much value you place on IntelliSense and comfort with JavaScript.

What about server side validation to ensure that users don’t just rename the files?
Typically the file would be associated with a unique hash/key so renaming files wouldn’t be an issue; they’ll only be able to rename them if you supply that functionality also.

It was impossible to set the focus in any of old RadPasswordBox text fields before. Have you fixed this issue in the new RadPasswordBox?
I assume you mean Telerik UI for ASP.NET AJAX. You should be able to set the focus with just a tiny bit of JavaScript. I’m unaware of any outstanding issues regarding this. Please contact support if you still have a problem after updating to the current version. They will help you very quickly.

I’m a novice. What is the editor/dev environment used in the Angular 2 demo?
Atom and Visual Studio Code are both good choices.

Are you considering to make Kendo UI full client side standalone framework?
Angular 2 is the framework, our Kendo UI for Angular 2 components are an extension and sit on top of the framework and are natively written with pure Angular 2 code. You’ll also be able to render them on the server with Angular Universal support, which is coming.

Does the Upload control have a size limit property?
Yes! Please see our documentation regarding validation. That stated, size limits are determined at the application and server level. By default, ASP.NET limits the size of the maximum upload to 4MB. Additionally, IIS 7 and later limits the request size to 30MB.

Would we be able to save these charts and graphs as image files rather than just being displayed in a webpage?
Yes, we have an export API worth checking out.

Where can we go to look at the different updates to the ASP.NET AJAX spreadsheet control?
Data entry was a big focus for this release. Many of the input control improvements made it into the spreadsheet. Also, please see our demos page for the Spreadsheet control.

Is Telerik UI for Xamarin included in DevCraft Complete?
No. It’s available in DevCraft Ultimate.

What is a ‘plonker’?
In proper British English, a plonker is a very fun term for ‘idiot’. However, Plunker is the tool you’re referring to I expect: http://plnkr.co.

What are the jQuery versions supported by the R3 release of Kendo UI for jQuery?
jQuery 1.* and jQuery 2.*. jQuery 3+ is coming in R1 2017.

Does the CheckBoxList in Telerik UI for ASP.NET AJAX support paging?
I don’t believe paging is a feature of the list controls. You could possibly achieve this with tabs or the RadWizard. If this is an important feature for you please leave us feedback at feedback.telerik.com.

We use C#.NET web forms only. We have deployed DevCraft R2 already. Will there be anything in R3 that we need for Web forms? We do not use MVC or AngularJS.
There are improvements in R3 for Webforms. There are a few new controls we will demo these. Two new theme builder themes. And new charts.

Thank You

Thank you to those who attended the webinar and who asked questions after. As always, if you have a suggestion feel free to leave it in the comments here or on our feedback portal.


Using Kendo UI in SharePoint Online—The “How To” Series

$
0
0

In this guide, learn how to use Kendo UI to boost your productivity and create beautiful custom solutions for SharePoint development.

SharePoint MVP Ed Musters has published a practical, detailed series that provides the web developer with a detailed “how to” in using the HTML5 and JavaScript framework Kendo UI by Progress in SharePoint Online within Office 365. The primary target for this resource is the experienced front-end web developer who needs to create a custom solution for SharePoint Online. The series can equally well assist “legacy” SharePoint developers who have been developing full-trust solutions with ASP.NET and C#, helping them modernize their web development stack and use Kendo UI to boost their productivity.

The series, published on the Telerik Developer Network, covers the following key areas:

  • Creating, packaging and deploying custom SharePoint solutions
  • Referencing Kendo UI components in SharePoint Online
  • Using SharePoint Lists as a data source for Kendo UI
  • Including other frameworks and tools into your development

Articles in This Series

  • Introduction to the series
  • How To Create SharePoint Solutions with Visual Studio and VS Code
    • SharePoint Declarative Sandbox Solution
    • SharePoint Hosted Add-In
    • SharePoint Framework (SPFx)
  • How To Reference Kendo UI in SharePoint Solutions
    • Declarative Sandbox Solution and Kendo UI References
    • Deploying the Declarative Sandbox Solution
    • Test Using Kendo UI Online Sample
  • How To Use a SharePoint List as a Data Source for Kendo UI (coming up)
    • A Discussion of SharePoint Lists
    • Creating SharePoint Schema in Visual Studio
    • Deploying the Updated Declarative Sandbox Solution
    • Hooking Kendo UI Data Source to SharePoint List
    • Including SharePoint Web Pages in Your Deployment
    • REST Data Optimization
    • Updating SharePoint Lists
    • Implementing Optimistic Concurrency
    • Working with Document Libraries
  • How To Use Kendo UI Office UI Theme and Other Frameworks (coming up)
    • Using The Kendo UI Office UI Theme
    • Incorporating Office UI Fabric
    • Incorporating TypeScript
    • Incorporating Angular 2

What Is Kendo UI and Why Use It in SharePoint/Office 365?

Kendo UI provides the SharePoint developer with a comprehensive library of advanced, responsive HTML5 widgets, such as data grid, charts and scheduler. Importantly, it includes an Office 365-inspired theme to help developers customize Office 365 without having to spend time to write custom CSS and not have your custom UI look out of place. Kendo UI is not a replacement for your favorite JS framework; rather, it is designed to work alongside jQuery, Angular JS and Angular 2 and make web developers more productive. It also works alongside Office UI Fabric. 

Kendo UI can be used not only in SharePoint Online, but also in SharePoint 2010/2013/2016 on-premise. This makes it a suitable choice for your “application modernization strategy.”

In Ed Musters’ experience, “You need not be a JavaScript guru before you can consider the benefits of Kendo UI. Kendo UI will boost your development productivity regardless of your current skill level. Both the beginner and expert will benefit. In fact, Kendo UI has helped accelerate my own modern web development learning curve.”

Learn More

Get started learning how you can use Kendo UI to customize and beautify your SharePoint applications beginning with the introduction, or you can find out more about Kendo UI and SharePoint here.

Questions on Tech with Todd Motto at Angular Connect 2016

$
0
0

We had a blast sharing the latest on Kendo UI for Angular 2, NativeScript and Angular 2 with you at Angular Connect 2016. While there we recorded live interviews for you to enjoy.

We set Todd Motto loose with a camera crew and microphone during the Angular Connect 2016 event to conduct some informal attendee interviews. Since we figured you probably wouldn’t enjoy wading through hours of raw, unedited footage, we’ve compiled the interviews into a series of videos for you. Todd had a great time conducting the interviews and we think you’ll enjoy the answers he got from people—a huge thanks to everyone who participated. 

Enough from me though. Here is Todd’s take on how things went:

AngularConnect was incredible, and whilst we were there I had the fantastic opportunity to talk with attendees, speakers and the Angular core team—on camera! Thanks to my sporty red trainers to keep me going, I was able to complete lots of interviews with some superstar attendees, incredible speakers and some of the amazing team working at Google on the Angular project. The excitement around Angular 2 is real—watch the videos to hear more!

The interviews were a mix of informal and formal—aiming to get a diverse set of natural responses, some serious and some just for fun. Questions ranged from their favourite Angular 2 feature, CoffeeScript, what they’re most excited about, how famous they are (on a scale of zero to Beyoncé) and things we should watch out for that’s coming in Angular 2’s future."

Enjoy the videos and don’t forget to share them with your friends!

Misko Hevery—Creator of Angular, core team at Google

Todd Motto talks with Misko Hevery during Angular Connect 2016 about ahead of time compilation, Angular 2 templates, the lack of free time, a medical career that will never be, fame and more.

Tracy Lee—Modern Web

Todd Motto sits down for a short chat with Tracy Lee List during Angular Connect 2016 about lousy British accents, messing with Todd's perfectly quaffed hair, the Angular 2 forms and routing API, fame, Snapchat and more. Check it out, its fun! 

Olivier Combe—Front-end engineer at Holimetrix

Todd Motto talks with Olivier Combe during Angular Connect 2016 about i18n, not being recognized by Beyoncé and an awkward sleep deprivation story moment.

Shmuela Jacobs—500Tech

Todd Motto is entertained during his chat with Shmuela Jacobs during Angular Connect 2016. Topics include Angular 2's change detection feature, the new Angular 2 forms module, dogs with hearing issues, conference induced sleep deprivation, and a special bonus: a wonderful rendition of All That Jazz! You have to see this!

Bill Odom—Developer, consultant, and trainer at Angular Boot Camp & Aaron Frost—Principal software engineer at Domo, Inc.

Todd Motto talks with Bill Odom & Aaron Frost during Angular Connect 2016 about their excitement for Angular 2, losing fame, tending bar, catching fish, speaking the truth in meetings and more.

Sherry List—Senior front-end developer, GAN Integrity

Todd Motto sits down for a chat with Sherry List during Angular Connect 2016 about being a ballerina, rock climbing, the Angular 2 CLI, Italian & British accents, enjoying tea & crumpets and more!

Jeff Whelpley—CTO at GetHuman.com

Todd Motto talks with Jeff Whelpley during Angular Connect 2016 about being recognized in the Angular community, the importantance of sharing with community, Angular Universal, a possible a career as a local news anchor and more.

Lukas Ruebbelke—Owner of OneHungryMind

Todd Motto talks with Lukas Ruebbelke during Angular Connect 2016 about style encapsulation, upcoming Angular 2 features, meeting Todd, giving up the dream of being a self-made billionaire and more.

Lynn McNeil—Angular Boot Camp

Todd Motto talks with Lynn McNeil during Angular Connect 2016 about her perspective on the AngularConnect conference, the lack of free time problem we all seem to share, the joys of painting and more.

Kirils Kirjai Ladov—Software engineer at FlyPay

Todd Motto talks with Kirils Kirjai Ladov during Angular Connect 2016 about English vs Australian accents, how CoffeeScript is the future, music, reviving the age old debate, which is worse, going without sleep or food and more.

Dominic Elm—Front-end engineer at Neusta Software Development

Todd Motto talks with Dominic Elm during Angular Connect 2016 about the merits of CoffeeScript vs TypeScript, why route build #300 of the 472 route builds was the best, how the router and the forms are his favorite features of Angular 2 and more.

Ben Lesh—RxJS 5 lead, software engineer at Netflix & Aysegul Yonet—Software developer at AutoDesk

Todd Motto talks with Ben Lesh & Aysegul Yonet during Angular Connect 2016 about copy & pasting code compliments, ahead of time compilation, the return of ActionScript, being creative and more.

Danny Callaghan—Head of Engineering at tillr

Todd Motto talks with Danny Callaghan during Angular Connect 2016 about the compiler, CoffeeScript, fame, the Angular team's great work during the last 12 months, the upgrade process and more.

Amanda Cavallaro—Software developer at Resolver

Todd Motto talks with Amanda Cavallaro during Angular Connect 2016 about 4 days with no sleep, Angular 2 security, her prior life as a teacher and more.

Chris Noring—Google Developer Expert, organizer of London JavaScript

Todd Motto talks with Chris Noring during Angular Connect 2016 about Electron, CoffeeScript & Angular 3, his appreciation for the component, routers, his culinary skills and more.

Almero Steyn—Software engineer at QDelft

Todd Motto talks to Almero Steyn during Angular Connect 2016 about Angular 2 animations, CoffeeScript vs TypeScript, routers, compliments, accents and more.

That's a Wrap Everybody!

Again, we'd like to say a huge thanks to everyone who participated. Nicely done Todd. Nicely done.

Web Stack Tools to Prepare You for the SharePoint Future

$
0
0

A key challenge for SharePoint developers anticipating the future of the application is adopting the web stack and JavaScript tooling in a way that doesn’t just add extra workload but can be used even today in current projects and setups.

One big, though still green, opportunity is hanging over the heads of SharePoint developers and there is a distinct possibility it does ripen in the next year. We are here to make sure that when (or, as some may suggest, if) it does, it will not fall on anybody’s head.

This opportunity is, of course, the SharePoint Framework, also known as SPFx. According to the the SharePoint Team, the SharePoint Framework is "an evolutionary step in SharePoint extensibility that delivers a new client-side rendering framework leveraging open source JavaScript technologies. The SharePoint Framework embraces the tools, frameworks and open source initiatives that developers rely on today, and it extends the scope of solutions that can be built on SharePoint, in the cloud and on-premises."

What’s in It for the SharePoint Developer

Many benefits await the SharePoint developer who ventures into client-side JavaScript development. Among others, it will enable you to extend your skillset—and your SharePoint site’s capabilities—faster and more efficiently. Plus, your site will be mobile-ready and responsive by design. You will learn skills that are useful even outside of SharePoint. Time will become your friend.

The Tricky Part

A key challenge then is to anticipate the future of SharePoint, in its SPFx aspect, and adopting the web stack and JavaScript tooling in a way that doesn’t just add extra workload but you can use even today in your current projects and setup.

In a recent whitepaper, “Preparing Your Toolbox for the SharePoint Framework with Angular, Webpack and Kendo UI,” authors John Liu, MVP Office Server and Services, and Bart Bouwhuis, SharePoint consultant, tackle this challenge. They present a set of technologies they believe align well with the direction in the open web stack and work really well together. To see an outline of their proposition, follow this SlideShare:

In the words of the whitepaper authors, “you might not be cooking in the SharePoint Dev Kitchen, but that really doesn’t stop you from watching and learning how to use the same tools to cook at home.”

Introducing Tara Manicsic, Developer Advocate for Kendo UI

$
0
0

Say "hello" to Tara Manicsic, the newest member of the Developer Relations team at Progress. She's joined the team to help developers using Kendo UI. She brings a lot of experience to the table.

Hey there. My name is Tara. I've recently joined the Developer Relations team at Progress. This is my story.

My Journey to Kendo UI

Unlike most people I know, I didn't start taking classes in CS because I hoped to work in the field one day; I took them because they sounded cool. The first class I took was "Creative Explorations in Screen-Based and Physical Computing." See? Sounds pretty cool. My mother was an electronics teacher at our local community college and would let me play with the breadboards while I waited for her to be done with work. I figured this class would let me play some more, and it definitely did. After that class I wanted to learn more about Java because I wanted to be able to do more. Eventually I was told I had enough credits for an Associates degree which then turned into a Bachelors concentrated in Computer Science.

grad-nana
A happy Nana and "smart cookie" granddaughter on graduation day

In one of the classes I took, creating a mobile application for Windows Phones, I was introduced to Kendo UI. As an untraditional college student, working and going to school full-time, I was really excited & relieved at how quickly you could throw together an application (or assignment ).

Kendo UI has changed a lot since those days, although it is still easy to use and great for rapid development, it has become more adaptable and has a ton of new features.

Becoming a Develop Advocate

After graduating I decided to follow a career in Node.js. I had always really liked working with JavaScript, and being able to work with the same language both client-side and server-side was a huge bonus to me. This allowed me to really drill down in JavaScript, learning the fundamentals and core concepts to be able to understand the language even better.

I spent most of my career as a Software Engineer writing Node applications to handle administrative tasks behind the scenes and to help users work on their projects in teams at our sibling PaaS company Modulus. I filled in when our support engineer stepped down and found the task rewarding. Although jumping in and out of servers and using Docker was very fun, it was helping other developers solve their problems that felt the most rewarding.

After switching back to the engineering team I dedicated my spare time to creating and aiding organizations that I felt really helped developers and my local tech community. I started the Cincinnati branch of Women Who Code and joined my fellow developers, Jack Boberg and Matt Hernandez, to start the Cincinnati Chapter of NodeSchool. In these two organizations I've been able to work with a lot of local developers to learn, teach and give back to our community.

swogc_cincywwc
Cincy Women Who Code members working with other local developers to help non-profits at this year's Southwest Ohio Givecamp

I may be biased because I am one, but I really like developers. I didn't realize before I started forming and being involved in these groups that a career existed whose main purpose is to advocate for developers. Thanks to Progress, not only did I learn how important that position is to this company, I also had the opportunity to switch from Software Engineer to Developer Advocate.

Kendo UI + Developer Advocate =

Just last week I happily signed on as the new Developer Advocate for Kendo UI, joining the very talented team of passionate developers. It's really an awesome time to be joining this group because of all the hard work the Kendo UI engineering team has put in to release some amazing advances. Recently, we released Kendo UI for jQuery 2016.3.914 which includes a lot of feature improvements, bug fixes and new widgets:

I am also extremely excited for the introduction of Kendo UI for Angular 2. With the much anticipated release of Angular 2 this adaptation for Kendo UI comes at the perfect time. For those who are switching from Angular 1.* check out this great article by Todd about upgrade strategies.

kendo-ui-angular-2

As one of the developer advocates I'm here to make your experience with Kendo UI the best we can make it. I want to know Kendo UI backwards and forwards so I know if there's a way to solve any hurdles you come to, or if we need to work with our engineering team to create a solution.

In order to really know our product I'll be diving into the Kendo UI documentation and utilizing all of our tools to create a bunch of new projects. I've always believed that to really know how something works you have to build things with it, then break them and fix it all over again. I'm really great at the 'breaking it' part and am getting better and better and the fixing . I'm really looking forward to showing you the things I build and working with you to help build and mend your projects!

Check it Out!

Here are some of the resources I've been diving into as I start digging into Kendo UI. Always feel free to reach out to us with any questions too!

Come and Talk to Me

I really want to meet you. Seriously, I would love to chat and see you at any events we both happen to be at. You can keep up with where I am on Twitter @tzmanics& tweet at me anytime! Besides talking about my adventures with Kendo UI and all things tech I also am very excited to talk about hiking, Toshi (my blue Pomeranian), making, learning, teaching, alternate universes and post-apocalyptic sci-fi. Hope to talk to you soon!

toshi-me-marantz
Toshi helping me clean out the ol' Marantz

ngMigrate Helps You Move from AngularJS 1.x to Angular 2

$
0
0

We understand the move from AngularJS 1.x to Angular 2 can be a challenging, uphill journey. That’s why our own Todd Motto (@toddmotto) has created the ngMigrate website.

Todd is passionate about helping developers make the move from AngularJS 1.x to Angular 2. That passion fueled him to create ngMigrate, with the mission to provide as much information as possible to help you leverage and convert your Angular 1.x knowledge over to Angular 2. We’re also encouraging the Angular community to jump onboard and contribute content as well. Todd and other contributors have been busy putting together educational guides to help you make the transition. 

Now that you’re on your way to learning Angular 2 you’re going to want to check out Kendo UI for Angular 2, which has been designed specifically for Angular 2. Written in TypeScript, built as native jQuery-free UI components and distributed as NPM packages, Kendo UI for Angular 2 makes integrating UI components into ng2 a piece of cake for developers.

Below are links to some of the content already available on ngMigrate. Head to the bottom of any ngMirgrate page and enter your email address to get notified when new guides are published.

Thanks for reading this and good luck learning Angular 2.

Using Kendo UI with Angular 2

$
0
0

In August of this year, after a few months of hard work, we released Kendo UI For Angular 2 Beta. Since then we’ve been hard at work towards our Release Candidate slated for January. We’re very excited about these components, and we truly believe that some things—the very best things—are worth the wait.

Getting started with the new Angular 2 components is entirely different than it was with Kendo UI For jQuery. Just like all of you, I have to learn these strange new concepts and how to use Kendo UI in a brave new world of modules, directives and the like. I recently sat down for an afternoon with the beta components to see what it was like to get up and running with Kendo UI And Angular 2. This was my experience.

Choosing A Starting Point

One of the more difficult things about Angular 2 is just getting started. Gone are the days when we could just drop script tags in our page and be done. Angular 2 has many dependencies and needs a build step to bring together all of it’s own JavaScript, along with your JavaScript into something that is cross-browser compatible. Fortunately, there are a lot of great tools and starter kits out there. Unfortunately, they all use different module loaders and this means that how you get started with Kendo UI will vary depending on which module loader you use.

SystemJS vs Webpack

In the JavaScript bundler/module loader world, there are currently two primary contenders: Webpack, the industry darling that has been widely adopted by React developers; and SystemJS—a universal module loader that tries to be really good at just loading any type of JavaScript module, be it CommonJS, RequireJS or ES6.

Depending upon which starter kit you choose for Angular 2, you will be using either SystemJS or Webpack. The trouble is that you may not realize which one is being used straight away if you aren’t terribly familiar with either of these module loaders. That’s a problem because, when it comes to Kendo UI, Webpack works very well, and SystemJS requires a bit more configuration. And when it comes to configuration, here there be dragons.

That’s why after examining the myriad of excellent starter kits and GitHub project templates out there, I recommend that you use the Angular CLI with Kendo UI.

Angular CLI

The Angular CLI is the official tool for getting up and running with Angular 2 and it’s built by some great folks in the community in conjunction with the Angular 2 team. I officially recommend it for several reasons:

  1. It generates what I believe to be the cleanest and simplest empty Angular 2 project;
  2. It uses Webpack and does a great job of configuring almost all of it for you;
  3. It has generators that you will definitely use since Angular 2 projects like to contain a LOT of files.

To install the Angular CLI, visit the docs and make sure you have the right versions of Node and npm installed. After that, it’s a simple matter of…

> npm install -g angular-cli

Note to Windows users: you will also need to have the C++ libraries installed with Visual Studio. If you do not have these libraries installed, simply try and create a new C++ project of any kind and Visual Studio will download and install them. They are huge. I am sorry.

Once the CLI is installed, you can create a new Angular 2 project with the ng command.

> ng new kendo-ui-first-look --style=scss

This creates a new Angular 2 project and then tells you that it is “Installing packages for tooling via npm”. It installs all of the generated project’s dependencies, which is a lot of packages. A lot. There are so many packages that it will take a non-trivial amount of time to complete this step, even on my Macbook Pro with an i7 and 16 gigs of RAM. This is something I’m hoping will get better as the CLI gets better and things like Yarn make me hopeful.

The –style=scss flag specifies that we want a new Angular 2 project with SASS support. SASS is a CSS pre-processor that makes it really easy to include and override external CSS frameworks such as Bootstrap.

Once the project is created, you can run it with the serve command.

> ng-serve

If you examine the terminal or command prompt, you can see Webpack doing its thing.

its-webpack

At this point, the app is running, but how do you load it in your browser? If you scroll up just a bit in the terminal, you will see where it tells you the port on which the app is running.

where-is-it-running

And if you load that URL in your browser…

kendo-ui-first-look

Awesome! Your app works. Or at least it says it does and computers don’t lie.

Let’s take a look at the project. Open up the directory where you created the project. Inside of that directory is a src folder. If you open up the app.component.ts file, you’ll see the Angular 2 component that has a property called title. This title property is bound in the app.component.html file with the syntax {{ title }}. If you were to change the value of title in app.component.ts, it will change the message that is displayed in the app without requiring a reload, so you can just leave this browser window running at all times.

Before we add Kendo UI to this application, we’re going to bring in Bootstrap as our CSS framework, since this is the framework that Kendo UI recommends and integrates seamlessly with.

Including Bootstrap

We’re going to include the SASS version of Bootstrap because the Angular CLI has tremendous SASS support built in and it makes it really easy to include third party CSS frameworks.

> npm install bootstrap-sass --save

This will copy Bootstrap from npm into your node_models folder. What we need is the Bootstrap CSS. We can include this with an @import statement in the styles.scss file.

$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/";
@import "~bootstrap-sass/assets/stylesheets/bootstrap";

The first line sets the variable that points to the Bootstrap icon font. That variable is then used in the Bootstrap SASS file that is imported below. The Angular 2 CLI has all of the build steps for SASS already wired up, so this “just works”.

Note that when you write or include SASS in the styles.scss file, these styles are available to the entire application. Angular 2 has a feature called Style Encapsulation that allows you to specify styles that are restricted to one or more components, but not the entire application. This is a powerful feature and I encourage you to watch this short presentation from Justin Schwartzenberger which explains this in graceful detail.

https://www.youtube.com/watch?v=J5Bvy4KhIs0

If you look at the app now, it looks similar, but the font has changed since Bootstrap normalizes the basic CSS properties such as font. It already looks a lot better!

with-bootstrap

At this point, we could use any Bootstrap CSS component. Change the contents of app.component.html to the following:

<div class="container">
  <div>
    <h1>{{ title }}</h1>
  </div>
</div>

Now let’s add a Kendo UI Button to this application. Of course, you could use a Bootstrap button here, but, for the sake of learning how we include Kendo UI, we’re going with a Kendo UI button. Besides that, the default theme for Kendo UI For Angular 2 is pretty amazing.

First, you are going to need to register the Kendo UI npm endpoint. This is going to ask you to login with your Telerik username and password as well as an email address. If you don’t have one, you can register for one here.

> npm login --registry=https://registry.npm.telerik.com/ --scope=@progress

Once you’ve logged in, you can install the Kendo UI Button component.

> npm install -S @progress/kendo-angular-buttons

Special thanks to @tj_besendorfer who pointed out that installing Kendo UI widgets while running `ng serve` can cause issues with files not being copied properly because they are in use. If you run into a an issue that looks somewhat like "The unmet dependencies are @progress/kendo-data-query@^0.2.0, and tslint@^3.0.0.", stop the development web server (ng serve) and then run `npm install` and then `ng serve` again.

This will install the Kendo UI Button component into the @progress folder in your npm_modules directory. In order to use this button, you need to import it into whatever module you want to use it with. In our case, we have only one module, the app.module.ts, so we’ll import it there.

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';

// Import the Kendo UI Component
import { ButtonsModule } from '@progress/kendo-angular-buttons';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,

    // import the Kendo UI Component into the module
    ButtonsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Lastly, we need to include the CSS that the Kendo UI Button requires. The Kendo UI Default theme is delivered via a separate NPM package.

> npm install -S @telerik/kendo-theme-default

We can then include it in styles.scss the same way that we included Bootstrap.

/* Bootstrap CSS */

$icon-font-path: "~bootstrap-sass/assets/fonts/bootstrap/";
@import "~bootstrap-sass/assets/stylesheets/bootstrap";

/* Kendo UI CSS */

@import "~@telerik/kendo-theme-default/styles/packages/all";

Now the button can be used in the app.component.html.

<div class="container">
  <div>
    <h1>{{ title }}</h1>
  </div>
  <div>
    <button kendoButton [primary]="true" (click)="buttonClicked()">Don't Click Me!</button>
  </div>
</div>

The button click event is bound to an event handler called buttonClicked. We need to add that event into the app.component.ts file.

import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'app works!';

  // Kendo UI Button click event handler
  buttonClicked() {
    alert("Clickity Clack!")
  }
}
clickit-clack

Let’s add another commonly used Kendo UI widget: the Kendo UI Dialog. This was previously known as the Kendo UI Window.

> npm install -S @progress/kendo-angular-dialog

Just like with the Kendo UI Button, import the Kendo UI Dialog component in the app.module.ts file.

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';

// Import the Kendo UI Components
import { ButtonsModule } from '@progress/kendo-angular-buttons';
import { DialogModule } from '@progress/kendo-angular-dialog';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,

    // import the Kendo UI Components into the module
    ButtonsModule,
    DialogModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})
export class AppModule { }

Add the markup for a Kendo UI Dialog component to the app.component.html file directly below the button.

<div class="container">
  <div>
    <h1>{{ title }}</h1>
  </div>
  <div>
    <button kendoButton [primary]="true" (click)="buttonClicked()">Don't Click Me!</button>
  </div>
  <kendo-dialog title="Awesome title">
    I am a super simple Kendo UI Dialog!
  </kendo-dialog>
</div>

If you look at your app now, you will see the dialog component.

simple-kendo-ui-dialog

It would be better if the button opened the dialog since that’s how we normally use them. To do that, we need to set the *ngIf property of the dialog to a boolean. This *ngIf is controlling the visibility of the dialog. So if we set that attribute to a property whose value is false, the dialog will not display. If we toggle it to true, the dialog pops up and the background goes dark. In this case, I have chosen the property dialogOpen, which hasn’t been created yet.

<div class="container">
  <div>
    <h1>{{ title }}</h1>
  </div>
  <div>
    <button kendoButton [primary]="true" (click)="buttonClicked()">Don't Click Me!</button>
  </div>
  <kendo-dialog title="Awesome title" *ngIf="dialogOpen" (close)="dialogClosed()">
    I am a super simple Kendo UI Dialog!
  </kendo-dialog>
</div>

This means that our buttonClicked event simply needs to set a property called dialogOpen to true. The close event then toggles it back to false, and I’m changing the title property as well just to show off the binding of Angular 2.

import { Component } from '@angular/core';

@Component({
  selector: 'app-root',
  templateUrl: './app.component.html',
  styleUrls: ['./app.component.scss']
})
export class AppComponent {
  title = 'app works!';
  dialogOpen = false;

  // Kendo UI Button click event handler
  buttonClicked() {
    this.dialogOpen = true;
  }

  dialogClosed() {
    this.dialogOpen = false;
    this.title = "Nice Job!";
  }
}
kendo-dialog

You’re Ready To Go!

With that, we’ve got a functional Angular 2 application complete with Kendo UI And Bootstrap and you’re ready to build—well—anything!

The Kendo UI For Angular 2 Beta features many of the most popular controls, including the Grid and Data Visualization. We’re on track for a Release Candidate in January which will include even more of your favorite components, with many more to come early next year. We know that you would prefer to have all of these components right now, and honestly, so would we! However, we have always believed in building the very best, and sometimes that takes more time than we would like, but we believe that it will be well worth the wait.

For more information, check out our official Getting Started Guide, as well as the Beta components and demos.

This post originally appeared on the Telerik Developer Network. Check it out for other great content.

Visualizing Data on the Web with Kendo UI for Angular 2

$
0
0

Recently, I've been very interested in the demographics of the United States. When someone asked me for the population in Ohio, I replied, "Lots of millions? Wait. Siri, what's the population of Ohio?"

As you will see, the population of Ohio, according to the 2015 Census, is around 11.59 million. Although Google and Siri are helpful with the quick stats, I wanted to be able to wrap my mind around the population and population changes for each state. In order to do that I used the handy-dandy 2015 Census results and was able to quickly render up some visualizations using Kendo UI for Angular 2.

In this article, I'll walk you through how the project was built. Along the way, we'll learn some Angular 2 and Kendo UI. Feel free to check out the repo and the website.

Setting Up the Project

To get started, we need to create an Angular 2 project that will provide a project structure. For this example, you'll need to have the Angular CLI installed and the Progress npm registry configured for use on your machine. Check out our fantastic Getting Started guide that walks you through the steps to get this set up.

Once your machine is ready, navigate to the directory where you would like your project to live and enter the ng new command with your project name:

cd angular-projects
ng new kendoui-ng2-census-visualizations

This command will scaffold a directory structure that contains all of your project's files:

installing ng2
  create .editorconfig
  create README.md
  create src/app/app.component.css
  create src/app/app.component.html
  create src/app/app.component.spec.ts
  create src/app/app.component.ts
  create src/app/app.module.ts
  create src/app/index.ts
  create src/assets/.gitkeep
  create src/environments/environment.prod.ts
  create src/environments/environment.ts
  create src/favicon.ico
  create src/index.html
  create src/main.ts
  create src/polyfills.ts
  create src/styles.css
  create src/test.ts
  create src/tsconfig.json
  create src/typings.d.ts
  create angular-cli.json
  create e2e/app.e2e-spec.ts
  create e2e/app.po.ts
  create e2e/tsconfig.json
  create .gitignore
  create karma.conf.js
  create package.json
  create protractor.conf.js
  create tslint.json
Successfully initialized git.
Installing packages for tooling via npm.
Installed packages for tooling via npm.

For this example, we'll only modify src/styles.scss and a few files in the src/app directory.

Personally, this is where I like to initiate my git repo for a project. Sure, it's the very beginning and an easy point to recreate but this gets the habit of committing fresh in the brain.

Add Base Styling and Core Layout

Kendo UI for Angular 2 provides two main options to include the Kendo UI theme in your project. We can either use a precompiled theme that styles all components, or load the theme source files through Webpack to modify and customize its styles. For this example, we'll add Kendo UI's default styling to get things styled right off the bat. Then, we'll add a <h1> and a few placeholder <div> elements.

First, we need to install (i) the module containing the default theme of Kendo UI for Angular 2 and save it to out package.json dependency list (-S or --save).

npm i @telerik/kendo-theme-default -S

Once the package is installed, we need to update our src/styles.scss file to utilize its styles. This is done by adding a new font-family property and changed some styling for the <h1> to show how you add custom styling:

src/styles.css

@import "~@telerik/kendo-theme-default/styles/packages/all";
@import url('https://fonts.googleapis.com/css?family=Roboto:100');

// you can enter custom SCSS below
h1 {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 5em;
  font-weight: 100;
}

Next, we'll add a header and some <div> elements to src/app/app.component.ts. Ideally, we would have component files for each one of our visualizations to keep them modular and to prevent app.component.ts from growing too large. For now, we'll just keep it in one file to make it quick and easy:

src/app/app.component.ts

@Component({
  selector: 'app-root',
  styleUrls: ['./app.component.scss'],
  template: `
    <h1>2015 US Census Data Visualized</h1>
    <div class="visualization"></div>
    <div class="visualization"></div>
    <div class="visualization"></div>
  `
})

I always like to run ng serve from the projects directory at each step just to makes sure everything is hunky-dory. That way, when things go wrong, I know where to start debugging. At this point, the page is looking rather bare:

Chart with base styling

You can see the changes made in this section by looking at this commit in the repo.

Build the Visualization

Get the Data

For these visualizations, we'll use an array of objects for our data. This is the most common way of binding your data because we can set our model and don't have to modify our data.

The census data came as a CSV file so I opened the file up, made smaller data sets with the info I wanted, and saved those as individual CSV files. In order to easily convert them to JSON, I used Martin Drapeau's CSV to JSON site. There are lots of modules to do this or you could write your own little script but that was the fastest resource that I could find.

Add Chart Module and Components

Now we're ready to start visualizing some data! First, We'll install the chart module and save it the project's dependencies:

npm i @progress/kendo-angular-charts@0.9.1 -S

Once installed, we can use the charts module in our project:

src/app/app.module.ts

import { BrowserModule } from '@angular/platform-browser';
import { NgModule } from '@angular/core';
import { FormsModule } from '@angular/forms';
import { HttpModule } from '@angular/http';

import { AppComponent } from './app.component';
import { ChartsModule } from '@progress/kendo-angular-charts';

@NgModule({
  declarations: [
    AppComponent
  ],
  imports: [
    BrowserModule,
    FormsModule,
    HttpModule,
    ChartsModule
  ],
  providers: [],
  bootstrap: [AppComponent]
})

export class AppModule { }

In src/app/app.component.ts, we'll add the tags to the component to create the visualization. First, we'll add the selector for the chart (kendo-chart) as well as the selectors for its data (kendo-chart-series and kendo-chart-series-item).

Selectors like kendo-chart-series-item and kendo-chart-value-axis-item (we haven't used that one yet, but we will ), must be nested within their parent (i.e. kendo-chart-series-item must go inside kendo-chart-series which must live in kendo-chart). We're basically climbing down the tree. Here's what that looks like in the code:

src/app/app.component.ts

@Component({
  selector: 'app-root',
  styleUrls: ['./app.component.scss'],
  template: `
    <h1>2015 US Census Data Visualized</h1>
    <div class="visualization">
      <kendo-chart>
        <kendo-chart-series>
          <kendo-chart-series-item>
          </kendo-chart-series-item>
        </kendo-chart-series>
      </kendo-chart>
    </div>
    <div class="visualization"></div>
    <div class="visualization"></div>
  `
})

To add data, we'll have to add some inputs into our kendo-chart-series-item selector so that it knows how to get and handle our data. You can check out the whole API documentation on this component but here is the list of the inputs we'll be using now:

  • type: the series type visualization we want (we'll be using bar but check out all the different series types!)
  • data: the data (inline) or a reference (I recommend looking at the details to get a thorough understanding)
  • field: the value of the data item
  • category: contains the category (the points will be rendered in chronological order if it's a date)

src/app/app.component.ts

@Component({
  selector: 'app-root',
  styleUrls: ['./app.component.scss'],
  template: `
    <h1>2015 US Census Data Visualized</h1>
    <div class="visualization">
      <kendo-chart>
        <kendo-chart-series>
          <kendo-chart-series-item
            type="bar" [data]="populationData"
            field="population" categoryField="state">
          </kendo-chart-series-item>
        </kendo-chart-series>
      </kendo-chart>
    </div>
    <div class="visualization"></div>
    <div class="visualization"></div>
  `
})

We've set the data input to populationData, so we'll need to create that object to bind it to the chart. To do this, we'll add it the AppComponent class:

src/app/app.component.ts(at the bottom)

export class AppComponent {
  private populationData: Model[] = [{
    "state": "Alaska",
    "population": 738432
  }, {
    "state": "Arizona",
    "population": 6828065
  }, {
    "state": "Arkansas",
    "population": 2978204
  }, {
    "state": "California",
    "population": 39144818
  }, {
    "state": "Colorado",
    "population": 5456574
  }, {
    "state": "Connecticut",
    "population": 3590886
  }];
}

I've only included 5 states to keep the code here short but you can either grab the gist of all the states here or you can view the whole whole file in the repo.

In order for this data to be interpreted correctly, we will need to declare the data's Model at the top of the file.

src/app/app.component.ts(at the top)

import { Component } from '@angular/core';

interface Model {
  state: string;
  population: number;
}

@Component({
...

Okay, with the data added we should be able to serve up our project and see a chart! Run ng serve and head on over to http://localhost:4200/ in the browser. If you have added all the states information it will looked super squished but you do have a visualization !

The chart with data added

If you ran into an problems or you just want to see what we changed in this section, check out the diff in this commit. If you find yourself with a page that just says "Loading" you can also check the console to see if any errors are popping up.

Style the Chart

We can change the styling within the chart selectors with different inputs. Let's step through each additional selector and the new inputs we've added to each of the selectors we already have in place. First, let's take a look at what the code will look like with all these changes.

src/app/app.component.ts

@Component({
  selector: 'app-root',
  styleUrls: ['./app.component.scss'],
  template: `
    <h1>2015 US Census Data Visualized</h1>
    <div class="visualization">
      <kendo-chart style="height: 1000px" >
        <kendo-chart-title
          text="POPULATION ESTIMATE"
          font="2em Roboto, Arial">
        </kendo-chart-title>
        <kendo-chart-series>
          <kendo-chart-series-defaults
            [gap]="0.25">
          </kendo-chart-series-defaults>
          <kendo-chart-series-item
            type="bar"
            [data]="populationData"
            field="population"
            categoryField="state"
            [opacity]="0.7"
            [color]="'#fb9b51'"
            [border]="{ color: '#fb9b51', opacity: 0.3 }">
          </kendo-chart-series-item>
        </kendo-chart-series>
        <kendo-chart-category-axis>
          <kendo-chart-category-axis-item
            [majorGridLines]="{ visible: false }"
            [majorTicks]="{ visible: false }"
            [labels]="{ rotation: '-25' }">
          </kendo-chart-category-axis-item>
        </kendo-chart-category-axis>
        <kendo-chart-value-axis>
          <kendo-chart-value-axis-item
            [max]="40000000"
            [majorTicks]="{ visible: false }">
          </kendo-chart-value-axis-item>
        </kendo-chart-value-axis>
      </kendo-chart>
    </div>
    <div class="visualization"></div>
    <div class="visualization"></div>
  `
})

In order to get rid of the squished look, we can increase the height of the whole chart component by editing the style of kendo-chart that was already in place.

<kendo-chart style="height: 1000px" >

We can then add a title to the chart. To do so we have to add and edit the selector for the title component, kendo-chart-title. To have it match the h1 text we can change the font to Roboto.

<kendo-chart-title
  text="POPULATION ESTIMATE"
  font="2em Roboto, Arial">
</kendo-chart-title>

When we made the chart bigger, the bars for each value of the data didn't change in height, leaving the data looking quite twiggy. To fix this, we actually just need to change the size of the gap between each bar. This customizations lives in the kendo-chart-series-defaultsselector and we just set it to a number.

<kendo-chart-series-defaults
  [gap]="0.25">
</kendo-chart-series-defaults>

Although we already added some inputs on the kendo-chart-series-item, we can tack on some more for styling the bars. In order to see the grid lines for each bar we can change the opacity of the bars, then change the color to be less partisan and change the border color as well to match. There is a ton more that you can do with the category axis item component — you can find all that info in the API. Yay!

<kendo-chart-series-item
  type="bar"
  [data]="populationData"
  field="population"
  categoryField="state"
  [opacity]="0.7"
  [color]="'#fb9b51'"
  [border]="{ color: '#fb9b51', opacity: 0.3 }">
</kendo-chart-series-item>

Next, we'll look at both of the axis items together. We'll remove the major grid lines from the category axis (the y-axis in this chart) because the bars for the series act as a guide well enough. We'll remove the tick marks for both axis because they seem unneeded BUT I highly recommend switching the boolean on these and testing them all for yourself! You can mess with all the other options for these axis too: the category axis item& the value axis item. We can also rotate the labels on the y-axis because...why not? Sometimes this may actually be necessary to fit the labels if you have long label names and/or limited space. The last thing we'll tweak is the max value of the x-axis. Since California has the largest population at 39144818, we'll go ahead and cap the value at 40000000.

<kendo-chart-category-axis>
  <kendo-chart-category-axis-item
    [majorGridLines]="{ visible: false }"
    [majorTicks]="{ visible: false }"
    [labels]="{ rotation: '-25' }">
  </kendo-chart-category-axis-item>
</kendo-chart-category-axis>
<kendo-chart-value-axis>
  <kendo-chart-value-axis-item
    [majorTicks]="{ visible: false }"
    [max]="40000000">
  </kendo-chart-value-axis-item>
</kendo-chart-value-axis>

After looking at all these changes I decided to add a bottom border to the header.

src/styles.scss

h1 {
  font-family: 'Roboto', sans-serif;
  text-align: center;
  font-size: 5em;
  font-weight: 100;
  border-bottom: thin solid black;
}

Here's the resulting chart:

Final version of the chart

Check out all the changes we made in this section in the commit.

Conclusion

That's it! We have a clean looking, easy to read visualization where we can compare the populations of all the states. Now I know that Ohio actually has the 7th largest population, yet somehow everyone knows everyone in Cincinnati, it's amazing! Seriously, it's kind of eerie (Ohio pun not intended) but I ❤️ it.

Now feel free to try it for yourself in the last two .visualization<div> elements!

Related resources:


Telerik Report Server R1 2017 Is Coming Soon

$
0
0

We’re busy adding a lot of great features to the latest Report Server, including white labeling. To get them done right, we have decided to delay our release.

Telerik Report Server is packed with the tools you need to manage your reports from a simple, easy interface—and we’re committed to continually making it better. We’ve got some big plans for our next release, and to make sure we do them right, we’ve made the decision to delay our release until March 1st.

We know that many of you were expecting an update sooner, so we wanted to share a taste of the new features we’ll be adding. We think you’ll find they’re worth the wait.

White Labeling Support for Your Reports

“White labeling” refers to the ability to customize a product or service you have purchased from another company with your own personal logo and brand identity. That means that when you are generating reports from Report Server to distribute to your clients and partners or for promotional materials, it will now be clearly associated with your specific brand.

This can help you quickly establish your brand to generate loyalty and exposure, while delivering a feature-rich product that we fully support. White labeling offers many advantages and we’re excited to bring it to Report Server.

Extended APIs to Support User Role Management

Report Server already features extensive user management, with built-in roles and flexible permission levels. In the next release, we’ll extend the server APIs to support user, user roles and permissions management, giving you the flexibility to control these assets directly from your code.

Don’t Wait—Get Started Today

While these features aren’t here yet, there’s no need to wait to try out Report Server and realize the benefits of a truly comprehensive Line of Business (LOB) report management solution. Report Server is designed to be lightweight but include powerful functionality, like user management, scheduling, data alerts, very flexible report creation, an exposed API and more.

You can learn more about Report Server in our free getting started whitepaper. When you’re ready, you can check it out with a free 30-day trial—and if you’re ready to buy, note that all licenses include a year’s worth of updates, so you’ll be the first to receive the best new features when they’re complete.

Kendo UI for Angular 2 Is Now a Release Candidate

$
0
0

Kendo UI for Angular 2 is now available as a release candidate, and we invite anyone with a Kendo UI license to try it out today. Learn more by registering for our release webinar.

Today is a big day for us! After several months of hard work, we reached the moment when we can announce our Angular 2 UI Suite—Kendo UI for Angular 2 as a Release Candidate (RC).

What Does the RC Label Mean?

Traditionally, release candidate phase means that the product is complete in terms of major features, and accurately matches the final vision. We received plenty of feedback during the beta phase, and we may confirm that the major decisions we made are here to stay. We are comfortable enough to label the current release with a go-live license. As far as the features—we are working hard on adding the essential ones for the next major release. We are committed to following the continuous release process, so new features in the components will be released as soon as they are ready.

To back this up, we are going to treat the product as part of our Kendo UI offering and provide commercial support through our dedicated support channel. Going forward, to use Kendo UI for Angular 2, you need an active license for one of the bundles which include Kendo UI: Kendo UI Professional, Kendo UI Complete, DevCraft Complete or DevCraft Ultimate.

Also we need to mention a small nuance on the product naming. If you are following the Angular space, you will have noticed that the Angular team is dropping versioning when referring to the Angular JS framework. So, as we are committed to moving in lock-step with advancements in Angular, moving forward we are removing versioning from our product and will be calling it Kendo UI for Angular as the official product name. You can still expect documentation and learning resources to refer to appropriate version of Angular. Lastly, if you are looking into development in Angular 1.x and Kendo UI, you should use Kendo UI for jQuery as it has wrappers which will suit your needs. 

Two Common Questions

I own a license for Kendo UI Professional or Kendo UI Complete. Does this mean that I get a license for Kendo UI for Angular 2 once it becomes final?

Yes, you got that right. And this is here to stay.

Talking about that, when is the final release of Kendo UI for Angular 2 coming?

Glad you asked. The final release (R2 2017) is scheduled for May 3rd.

What's New

The release includes several brand new form components: Autocomplete, MultiSelect, NumericTextBox and MaskedTextBox. The Grid component got two of its most wanted features: editing and grouping. The upload received necessary feature updates, the most notable one being the forms support.

The list does not stop here; Earlier in the quarter we released support for some of the framework fundamentals—AoT and Universal Rendering. We listened to your feedback in GitHub and addressed more than a hundred issues. We talked with you in Stack Overflow, so that the common gotchas and problems have easy to find answers. 

Coming Soon

A roadmap wouldn't be truly ambitious if it delivered 100% of its goals. There are a couple of things which did not make it for the release. We are working hard on delivering the DateInput and the Calendar. The Toolbar internals (SplitButton and ButtonDropDown) are already here, but the ToolBar component will follow through shortly.

Learn More with a Walkthrough or a Webinar

Meanwhile, there is a lot to look at! Follow the installation process from our getting started page, which also gently touches on the Angular 2 bits. To learn more about the release and see how the new components work, register for our launch webinar.

Announcing the Telerik DevCraft R1 2017 Release Webinar

$
0
0

The DevCraft R1 Release is here, loaded with upgrades and new features. Catch all the news and score some prizes at our Release Webinar on Feb 2.

Let's start 2017 strong! It’s the first day at work after the nice and relaxing holidays. You are fresh and pumped to start the new year right by getting stuff done. But by mid-day, you quickly realize you are back exactly where you had left. The same stringent delivery deadlines and projects with UI so antiquated that they give you the chills.

Time to chin up—because your beloved Telerik DevCraft suite is here with the 2017 R1 release. To deliver your software development projects on time and to the delight of your users, you need awesome tooling. Modern, cutting-edge developer tooling should elevate your development experience and enable you to deliver solutions faster than what you would have envisioned even a few months back. That’s exactly what the latest DevCraft release promises. No matter what be your app platform—mobile, web or desktop—this R1 release has something for you.

Come join Telerik Developer Advocates Burke Holland, John BristoweEd Charbeneau and myself, Sam Basu, on February 2nd for the DevCraft R1 2017 release webinar. We’ll unpack platform-specific functionality to elevate your app development and provide a developer’s perspective of what’s new in Telerik DevCraft. Have a specific product you care about the most? Feel free to join the webinar at the specific times—you’ll reap the most benefit with the complete bigger picture though.

Here’s a quick glimpse of what we will cover in the webinar:

DevCraft R1 2017 Webinar Topics

Web UI: [First 25 minutes]

  • Six new Kendo UI for Angular components hit their Release Candidate milestone: Calendar, DateInput, MaskedTextBox, NumericTextBox, AutoComplete and MultiSelect—plus you also gain support for Ahead of Time (AoT) compilation, universal rendering, and tree shaking support
  • Kendo UI for jQuery gets jQuery 3 support and NPM distribution
  • Spreadsheet improvements for Kendo UI for jQuery, UI for ASP.NET MVC, AJAX, Core, JSP and PHP, which include new events, context menu customizations and more
  • Grid improvements plus new a new Default Theme for Kendo UI for jQuery, UI for ASP.NET MVC, Core, JSP and PHP
  • Upgraded “New Project Wizard” and new sample application for UI for ASP.NET MVC
  • New Tag Helpers for the Responsive Panel and Splitter components, plus Validation Tag Helpers for UI for ASP.NET Core

Mobile UI: [Next 15 minutes]

Desktop UI: [Next 15 minutes]

  • New Demo app for UI for Universal Windows Platform (UWP)
  • Document Processing improvements across all desktop UI suites: support for forms and form fields, including signatures in the PdfViewer, split and merge documents through PdfStreamWriter, and more
  • New Office 2016 touch-enabled theme and PivotGrid, Map, RichTextBox, ChardView3D updates for UI for WPF
  • Official release of API Analyzer for Telerik UI for WPF
  • New DataFilter component plus Grid and RichTextBox improvements for UI for WinForms

Reporting: [Last 5 minutes]

  • Table of Contents support in ReportBook, interactive tooltips for all report items and design support for ReportBook

Don't Just Join—Interact!

Sure it is nice to see demos of freshly released bits in Telerik DevCraft, but you are bound to have questions. How can I use this feature in my app? What about support in my platform of choice? 

You have questions—we have the answers. And not just the developer advocates—the engineers who actually build the products will be at hand to help. Simply use the Q/A panel or better still, ask all your questions publicly on Twitter using the #AskTelerik hashtag. You can do this before, during and after the webinar—we're here to help.

ask-telerik

Prizes

We really appreciate you taking the time to join the upcoming DevCraft R1 release webinar. But what’s a Progress webinar without some cool prizes? You are in the running to win a prize just for attending the webinar. Extra cookie points for interactions! We love all your questions during the webinars—please keep them coming. 

Here's the prizes that are up for grabs:

  1. Xbox One S 2 TB: For the best question
  2. Amazon Echo: Just for attending

Limited only by official Telerik sweepstakes rules.

Don't Miss the Latest DevCraft Webinar

As you can see, Telerik DevCraft R1 2017 is a packed release, enabling you to focus on feature functionality in your chosen development platform. We can’t wait to show you all the developer goodies that are baked in.

What are you waiting for? Register today and come join us for the DevCraft R1 Release webinar. It’s going to be a great time and we cannot wait to see you there!

Register for the Webinar

Kendo UI R1 2017 Release Webinar Recap

$
0
0

Join us for a recap of our recent release webinar, as we cover your questions about developing applications with Kendo UI for jQuery, Kendo UI for Angular and more.

Earlier this week, we held the Kendo UI R1 2017 release webinar, which highlighted the latest features we’ve added to Kendo UI for jQuery and Kendo UI for Angular. This webinar was hosted by members of the Developer Relations team at Progress—myself, John Bristowe, as well as Tara Manicsic and Ed Charbeneau. This release represented a significant milestone for Kendo UI as we hit RC.0 with Kendo UI for Angular. This blog post summarizes the event and provides answers to the questions that were asked by attendees.

Webinar Recording

If you were unable to join us for the live webinar, don’t worry: we’ve posted the recording to our YouTube channel.

Prize Winners

We love prizes and giveaways. Who doesn’t? A Kendo UI release webinar wouldn’t be complete without some epic prizes! Here are our two winners:

Selected at random, our attendee winner is Carl NelsonCarl, you have won an LEGO Mindstorms EV3. Congratulations!

The best question was asked by Brun J. Swick during the webinar. Brun, you’ve won a Xbox One S. Awesome stuff!

Questions and Answers

Many questions were asked during the webinar using the #AskTelerik hashtag on Twitter. Here’s a summary of a few of them along with their respective answers:

Is a roadmap available where I can track upcoming features like Date/Time Pickers in Kendo UI for Angular?
Yes, please check an eye on this page for updates!

Do you think you’ll be able to keep up-to-date with the breaking changes coming to Angular without harming our applications?
Teams for Kendo UI and NativeScript are in as-close-a-touch as possible with the Angular team to ensure continuous compatibility.

Do you have a pivot grid in the new release?
The PivotGrid has been available for more than a year now!

What license will we need for the new Angular 2 controls? Can we use the Kendo UI for Angular license for 1.5 and 2.0 projects?
Purchase SKUs are Kendo UI Professional and Kendo UI Complete—both of which include licenses for Kendo UI for Angular 1 and Kendo UI for Angular (2+).

Will you be making ReactJS components, or are you just sticking with jQuery and Angular?
Petyo Ivanov (PM, Kendo UI) wrote about Kendo UI and React recently in a post entitled, Kendo UI for React: The Road Ahead that’s worth reading.

Do the scoped @progress npm packages work with Yarn?
Not yet. There is an issue (#1895) that’s preventing it from working properly at the moment.

When is Kendo UI for jQuery 3 expected to come out?
jQuery 3 is now supported with Kendo UI R1 2017.

Will you be offering both Less and Sass or have you switched completely to Sass?
Our current roadmap is using Sass. Please send your feedback to feedback.telerik.com if you would like to state a case for supporting Less.

With the movement toward .NET Core, Angular, etc., will Telerik continue to keep the ASP.NET MVC wrappers current?
Yes. We’re working very hard on all of this. We’re also hosting a webinar on these (and other) controls very soon!

Will you have the Bootstrap theming and integration with Kendo UI for Angular?
The Bootstrap theme is still in active development and we do not recommend using it for the moment. Expect updates in the next few months.

In an application that is heavily-dependant on filtered JSON DataSources and custom objects, will it be simple to upgrade?
Upgrading versions of Kendo UI for jQuery shouldn’t be too problematic. Jumping from Kendo UI for jQuery to Kendo UI for Angular is entirely different. That’s because the DataSource doesn’t exist in Kendo UI for Angular. It’s not needed because Angular provides a lot of the infrastucture already.

Can I use existing license to this release?
Yes, Kendo UI for Angular RC is included in your existing Kendo UI license.

Will you add the ability to add components through the Angular CI?
At the moment, no. We don’t have generators for the CI. If you think that we should implement some, please let us know by submitting your feedback to feedback.telerik.com!

Currently using Angular 1.x and Kendo UI for jQuery, are there migration guides available to help the move to Kendo for Angular?
We’re working hard to keep the APIs mostly similar. In the meantime, I’d recommend reading Todd Motto’s article entitled, Angular 2 Upgrade Strategies from Angular 1.x for more information about this subject.

Will the new Angular 2 components work with OData providers? Any work on supporting GraphQL in the future?
They should work and work well. GraphQL is very interesting. It should work as well. However, that’s more of Angular’s responsibility than ours to get the data and query it through the protocol that GraphQL uses.

Is there an easy way to customize the base theme to match corporate branding?
If you mean the kendo-theme-default theme, please refer to the section entitled, Custom Themes in our documentation.

Thank You

Thanks everyone again for joining, we’ll see you next time! If you have any feedback, please feel free to leave it in the comments section below.

Telerik DevCraft R1 2017 Release Webinar Recap

$
0
0

Join us as we recap our recent webinar for the R1 2017 release of the Telerik DevCraft development suite. Missed it? You can watch the recording on YouTube.

Last week, Burke Holland, Ed Charbeneau, Sam Basu, and I hosted a webinar that provided an overview of all the latest and greatest features we shipped in the R1 2017 release of Telerik DevCraft. This release featured many updates across our UI controls and development tools. A top highlight of this release is our commitment to Visual Studio 2017. We covered a massive amount of content that highlighted everything that is awesome in Telerik DevCraft. Other highlights included:

Relive the Webinar

If you were unable to watch the webinar, don’t worry. We posted the recording of the webinar up on YouTube for you to watch in its entirety and in high definition!

Prize Winners

Of course, it wouldn’t be a webinar by Progress without some cool prizes. This time around, we decided to give a prize to the attendee with the best question. We also picked a lucky attendee-at-random just to make things fun. Here are your winners:

Best question: Ross Toombs (Xbox One S)
Random winner: Jennifer Bartolome (Amazon Echo)

Congratulations to our winners!

Questions and Answers

We had a mountain of questions through our webinar software and online through Twitter. You can check out some of the questions that were asked by reviewing the #AskTelerik hashtag. Here’s a selection of a few that were asked and answered during the webinar.

Usually the release notes for UI for ASP.NET AJAX is packed with new features and for some reason on this version the list is very short. Is there a reason?
UI for ASP.NET AJAX is a mature product. We’re focused on compatibility with Visual Studio 2017 and fine tuning new additions like the SpreadSheet control that was released in late 2016.

Is there a path forward for using Kendo UI controls with React and Webpack? The tree-shaking features would be very useful to cut down the large size of the Kendo payload.
Yes! We have a set of wrappers available. More information is available in a blog post entitled, Kendo UI for React: The Road Ahead.

Does Kendo UI work in an offline scenario as well?
Absolutely. So long as you maintain data with the DataSource and ensure it’s re-populated between requests/pages/etc. it should work just fine.

Can we set a pattern for column values in the Grid component in Kendo UI for Angular for things like date, time, etc.?
You can use a cell template to control this behavior, about which you can read more in our documentation.

Can the rendering of the Grid component in Kendo UI for Angular be suspended during updates to improve performance?
That sounds like you’re loading a lot of data. If so, you may want to consider paging or virtualization.

What sorts of project templates will be included in Visual Studio 2017?
Everything you had with previous versions will be available in Visual Studio 2017 as well.

How do I get the Color Theme Generator that was shown with UI for WPF?
Here's the Color Theme Generator for XAML.

Is there a plan for Reporting to be available on mobile application development?
We are thinking in this direction. Stay tuned!

The RadPdfViewer includes forms? Can I access them from code?
Currently it displays forms. Editing them is currently cooking. :) Accessing them in code is not yet possible.

Are the Kendo UI Sass compilation options the same as the Bootstrap Sass? This is important for compatibility.
The Sass variables are compatible with Bootstrap 4.

Does UI for Xamarin’s ListView have support for virtualized (or lazy loading/infinite scrolling) large datasets?
Yes, absolutely! ListView for Xamarin.iOS extends the standard UICollectionView and ListView for Xamarin.Android extends the Android RecyclerView. This provides fast loading and smooth scrolling experience even for large data sets.

NuGet for Telerik includes more packages than Xamarin? Please elaborate.
Please check out the blog post entitled, We Maintain a Telerik NuGet Feed for detailed information about this.

WinForms UI is there any tools or methods to build a small app as a single file (without dll’s and so on)?
Yes, there is. Once you build the app, you can ILmerge it into one file. We have a section in our documentation that elaborates on this point further.

In future we want to build our new apps for multiple Mobile devices and platforms as HTML SPI and use Electron / Cordova to make them running. How could Telerik help us best for this scenario?
We’re fond of Electron. You should look into our web suites like Kendo UI and Cordova tooling like AppBuilder.

Have you ever considered selling non-commercial Kendo UI licenses?
Check out Kendo UI Core on GitHub! It’s free and open source!

Is there a PDF stream writer for ASP.NET?
You can create PDFs with ASP.NET using our Document Processing Library.

Is there anything in the Document Processing Library to convert dynamic .aspx or HTML pages to PDFs or Word documents?
No, not directly. But, our UI controls can do something similar in a variety of ways.

In a recent web project using Kendo widgets in conjunction with Bootstrap, I have to add some stylesheet theming to “fix” issues with numeric tool box, etc. Have there been improvements so that this additional CSS is no longer necessary??
Yes, we’ve been working on updating to the Bootstrap theme. However, please submit any bugs you find. We’d love to hear about them. Sorry about that. If you want, you can check out our GitHub repo that’s focused on this work. Alternatively, there’s our repo for the default theme as well.

When will VS 2017 RC be fully supported by DevCraft? I tried to install DevCraft on the RC and it wasn’t an option. I installed it on 2015 instead.
VS 2017 is DEFINITELY listed when you install bits via the Telerik Control Panel. You may have to update to the latest version. You’ll see a prompt to update when you run the utility.

Thank You

Thanks to everyone who joined in the webinar or asked questions, and if you missed it, please watch the recording and let us know what you think of the latest DevCraft release.

Viewing all 380 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>