Telerik blogs

Latest

  • 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...
    January 12, 2009
  • 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()       {...
    January 10, 2009
  • 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...
    January 09, 2009
  • 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...
    January 09, 2009
  • 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...
    January 08, 2009
  • 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...
    January 08, 2009
  • Release

    Download Latest Internal Builds

    Here is a Christmas present for you (a bit late for Christmas but you will enjoy it anyway)! We have recently released a new page on our website which will give you access to our latest internal builds. These are the distributions built automatically from our source repository and include all latest fixes (new features are usually not included). Regular builds are integral part of our development process and based on continuous QA and feedback we strive to produce the most stable releases possible. If you have experienced any problem with the current official distributions there is a possibility that ...
    January 08, 2009
  • Productivity Reporting

    "The strange case of Adobe Acrobat" or why do images in Telerik Reports get fuzzy when exported to PDF

    First, I would like to wish you all Happy New Year! Hope it brings you everything you have asked for! Now up to today's words (post) of wisdom: In the last couple of days a few people reported that images placed in Telerik Report, which normally look ok, start looking fuzzy when exported to PDF. We got scared for two reasons:  This has not been reported prior to our latest release We've introduced new rendering mechanism in the latest release When you combine those, you cannot help but feel that we have somehow messed things up. Fortunately, after a quick investigation, the problem proved...
    January 07, 2009
  • Desktop WinForms

    Export RadGridView Data to Microsoft Excel

    I am sure that most of your data-driven applications require support for Microsoft Excel. Probably the best and most famous spreadsheet application known for data manipulation, MS Excel provides useful features such as calculations, graphing tools and pivot tables – things that are not so easy to do in a regular data-driven application. RadGridView for WinForms offers data export to Excel out of the box, a handy feature that saves you the hassle to do this yourself. It supports two methods for exporting data:     • Exporting through Primary Interop Assemblies, optimized for black & white printing. Here we provide a...
    January 07, 2009
  • Web

    Passing parameters to a UserControl inside RadWindow for Silverlight

    I just wrote a simple application that demonstrates how to databind a treeview to a dummy data source and edit its items in a UserControl, placed in a RadWindow. You could see my other blog posts for examples with web service binding and upgrade the application to suit your needs. To accomplish the requirements, we need to add a property that will contain the edited data item on the UserControl. When the selection in the TreeView changes, we will update that property with the new selection and then open the RadWindow. The UserControl will create a copy of the data item...
    January 07, 2009