Telerik blogs

Latest

  • Web

    BDD. At first I was afraid, I was petrified.

    Yes, seriously, my first reaction to a post in which I noticed BDD-kinda-tests was something like "whoa, interesting naming convention for test method names, and all these underscores...". After that I came upon several other blog posts containing BDD tests and I still didn't get the idea. Then I read Dan North's post introducing the idea of Behavior Driven Development and I finally started catching the point. But catching the point at that time was not like "well, it's worth it and I'll try it" but rather like "ok, it's a TDD variation with some funky new lingo, so... ok". I could abandon...
    May 27, 2021 2 min read
  • Desktop WPF

    Implementing the RadNumericUpDown for WPF

    I am sure that you are wondering why I would spend time blogging about implementing a control as simple as the RadNumericUpDown for WPF.  After all this is not a complex control and if you have done any client development you have probably used a NumericUpDown in the past.  Well, this is not the same control and it does have some nice features that you may not be aware are available.  I thought it might be nice to demonstrate some of these features. So most likely you have used the WinForms version of NumericUpDown and were limited to only a few...
    May 27, 2021 3 min read
  • Release

    The New Telerik TV Video Portal is Live

    We are excited to announce the launch of our brand new video portal—Telerik TV—a gateway to all Telerik video resources. The portal was designed with the purpose of becoming your “one-stop-shop” for all Telerik video materials, making it easy to discover video support resources. The new video portal allows you to watch the latest or most popular videos on Telerik product lines, or simply browse the various Telerik TV channels—TelerikWatch Minute presented by our Chief Evangelist, Todd Anglin; RadTips with Kevin Babcock, another Telerik Evangelist; EdgeOfDev, focusing on interesting industry trends; and Telerik Real World - a virtual library of showcase videos dedicated...
    May 27, 2021 1 min read
  • Web

    Customizing the Radial RadGauge

    Hello everyone and happy new year. Today I decided to break the lengthy silence on my blog with an example on how to customize the RadGauge. Since there were a couple of requests for custom Radial Gauge, I will present a way to create a semi-circle gauge. That is generally achieved in two steps: Customize the radial scale range Four parameters define the radial scale range: StartAngle, SweepAngle, Radius and Center. The StartAngle and SweepAngle are specified in degrees (0 to 360), starting from the right side of the gauge, going clockwise (note, that positive angle direction is starts from positive X and goes to the positive...
    May 27, 2021 3 min read
  • Release

    Telerik WinForms examples can be viewed directly from the web

    Up until today, of all product lines that Telerik offers only RadControls for WinForms required full installation of the product in order to view the examples the suite comes with. All other product lines had a web version of their Quick-Start Frameworks (QSFs), making product and feature reviews easy and trouble-free. Ever since the introduction of RadControls for WinForms a couple of years ago, we have been looking for ways to provide the WinForms demos to our customers without asking them to install the suite beforehand. Yes, there are several technologies which allow WinForms apps to run in web-based environments, but...
    May 27, 2021 2 min read
  • Web

    Comparing Generic Types

        Today I was dealing with the problem of comparing generic types in Silverlight. After researching the problem I found many similar issues for which I couldn't find any straightforward solution on the web. So here we go - a post on the issue how to compare generic types. First, let’s say we have a simple generic class which is composed of two generic properties A and B, and a method that we will later use to compare these two properties. Moreover, I will constraint the class to invoke the constructor of the generic type argument by using where T : new()      public class GenericClass<T> where T : new()       {...
    May 27, 2021 2 min read
  • Release

    Improving OpenAccess ObjectScopeProvider for Runtime Connection Config

    Phew! That's a long blog post title, but hopefully it clearly conveys what I'm about to show you. In my last post, I talked about where you should set your OpenAccess database connection strings. I showed you how you can define multiple database connections in your web.config (or app.config), simulating the idea of having a unique connection string for DEV, TEST, and PROD environments. So now that you have your connection strings set in a way that is easy to maintain, you need a way to easily to tell your OpenAccess persistent classes to use a specific connection at runtime. Let's look...
    May 27, 2021 3 min read
  • People

    Telerik Wins Six STC Awards

    A few months ago, we asked you to share your comments on our new print ad campaign for Telerik products and the Sitefinity CMS. Today, we are happy to announce that the majority of those ads have been recognized with a number of awards in the 2008 Technical Art Competition of the Society of Technical Communication (STC), Boston Chapter. The STC is an individual membership organization dedicated to advancing the arts and sciences of technical communication. This is an important distinction for us because it comes from our fellow editors, designers, and other technical communicators. Below are the awarded entries (click on an...
    May 27, 2021 1 min read
  • Web

    Encode and Decode URI(Uniform Resource Identifier) using JavaScript

    The current article is taken from https://developer.mozilla.org/ In some scenarios it is useful to encode and decode the URI. For example: To avoid unexpected requests to the server, you should call encodeURIComponent on any user-entered parameters that will be passed as part of a URI. For example, a user could type "Thyme &time=again" for a variable comment. Not using encodeURIComponent on this variable will give comment=Thyme%20&time=again. Note that the ampersand and the equal sign mark a new key and value pair. So instead of having a POST comment key equal to "Thyme &time=again", you have two POST keys, one equal to "Thyme " and another...
    May 27, 2021 2 min read
  • Desktop WinForms

    RadGroupBox for WinForms

    We are happy to announce yet another control to be added to our WinForms portfolio in Q1 2009 - RadGroupBox. The new control will offer the same functionality as the standard toolbox GroupBox, but will add some extra coolness by supporting Telerik’s remarkable styling mechanism:     Here are some of the features it will offer: Theme Support RadGroupBox will support all common themes that come with Telerik RadControls for WinForms: standard theme (aka Control Default), Office 2007 Blue, Office 2007 Silver, Office 2007 Black, Desert, Telerik, and Aqua. We will also have one new theme for the official release.   Properties The HeaderPosition can be...
    May 27, 2021 1 min read