Telerik blogs

Latest

  • Productivity

    JustCode JavaScript Templates for WinJS

    I’ve been doing a lot of WinJS work recently, and I am an avid user of the JustCode Template functionality.  So, I thought I’d share my templates as I have them now, and will update this post as I update them or create more.  For more information on creating JustCode templates, please see this help content. For each template, I show my acronym in parenthesis.  For example, the first template’s acronym is “winjsfile”.  I also don’t show the results for every template, since some of them are obvious. Templates for New JavaScript File This template and the related templates following are used when I...
    November 26, 2012 2 min read
  • Web

    Fixing FOUJUI: Another Practical Example

    One of the cool things we released along with the Kendo UI Winter Release last week is the brand new Kendo UI Music Store demo. It’s a complete, end-to-end demo designed to show many of the pieces from Kendo UI Web, DataViz, (and soon Mobile) working together...
    November 22, 2012 6 min read
  • Productivity

    Future Mocking

    Mocking legacy code is hard. Especially, if it’s a third-party library and you have little control over how it’s written. It is even more difficult to unit test a type that is instantiated internally. One can argue that it should be refactored to accept dependencies via constructor injection.  However, constraints such as time, budget, experience with the offending code, or even access to the source often prevent paying down the technical debt accumulated in these legacy systems.   This post will show you how to mock an external library (concept) where it calls a login service class that cannot be sent...
    November 21, 2012 2 min read
  • People

    Week 2 at AcceleratorHK

    Last week was our second week at AcceleratorHK and things are starting to fall into a good cadence. On Monday, we had our first of the weekly 1:1 meetings and Paul and I worked directly with the teams on the issues that they face. We also had two amazing mentors come in: First was Salim Virani, the creator of Leancamp. He talked to us about Customer Development and took a lot of time out of his vacation time in HK to spend with the teams on how to ask the right Customer Discovery and Customer Validation questions.   Later in the week we had Mikaal Abdulla, co-founder of 8 Securities, a Hong...
    November 21, 2012 2 min read
  • Mobile

    Icenium LiveSync with the Samsung Galaxy S III

    Icenium LiveSync enables you to easily deploy an app in development to one or more devices and see changes made--in real-time in both the integrated device simulator and across all connected devices--without having to recompile. In order for LiveSync to work, your development environment must be able to communicate with the device.
    November 20, 2012 2 min read
  • Web

    Speech Recognition Made Easy with Telerik RadControls for WP8

    Introduction Hello everyone! I’m sure by now you’ve heard the news from //Build/ that Telerik has released its Windows Phone 8 controls and this release includes several new components: Speech Recognition – Allows your end-users to navigate and interact with your app using their voice. MultiResolutionImage – Windows Phone 8 supports new display resolutions up to 1280x768 and Telerik RadControls make it easy for developers to display the appropriate images in their apps, according to the device resolution through this control. DataForms – This new component allows you to automatically generate the UI for your input forms, with support for validation and...
    November 19, 2012 7 min read
  • Productivity Testing

    Use Visual Event To Explore JavaScript Events In Your Application

    Visual Event is a little tool I found. When I say that I "found" it - I literal discovered it after Google-ing "detect javascript events" or something to that effect. Neither Telerik nor I personally have any affiliation with the Visual Event product or its makers. Anyway the tool will help you determine what javascript events are associated with a particular control. Javascript events are a crucial part of UI automation. Good understanding of how and when they are employed in your app can save you a lot of trouble. 90% of the time switching your step to ...
    November 17, 2012 2 min read
  • Productivity

    Fixing Visual Studio 2012 Intellisense for WinJS Files

    I have been frustrated by Intellisense acting up when working on WinJS Windows Store applications.  Figure 1 is just an example of the quirky behavior that I’ve been experiencing: Image 1 Fortunately, the fix is extremely easy, and I picked it up from Adam Freeman’s book on Apress “Metro Revealed: Building Windows 8 apps with HTML5 and Javascript” Add references in your JavaScript files to ui.js and base.js.  You can do this by dragging the files from your solution explorer.  They are located by expanding Windows Library for JavaScript 1.0, and then the “js”  folder.  Make sure you include the triple swack at...
    November 17, 2012 1 min read
  • Release

    Notifications and Settings in Telerik Control Panel

    The Telerik Control Panel introduced a new and efficient way to install and update Telerik products. The Q3 2012 release makes it easier than ever to keep your Telerik products up-to-date with notifications and more customization. If you are unfamiliar with the Telerik Control Panel, you can learn more about its standard features and how it enhances the Telerik Experience in Introducing the Telerik Control Panel. When you open the Control Panel to update your products for the Q3 release, this screen appears. The updater updates itself, and it brings features to make your Telerik experience that much better. Options Abound After installing the update,...
    November 16, 2012 3 min read
  • Productivity

    JustCode Code Style Settings for C#, Part 1

    In our previous blog posts on the JustCode Formatter, we’ve showed you what it is and how it works. If you haven’t read those yet, please see our post on "Introducing the Formatter" and "Comparing the JustCode Formatter to the Visual Studio Formatter". One of our design goals was to make sure the Formatter is much more customizable than Visual Studio’s, and in this post, we will show you how easy it is to customize it. What are the Code Style settings? When you utilize JustCode’s refactorings, expand code templates, format and/or clean your code, or make other changes to your code, JustCode...
    November 16, 2012 4 min read