Telerik blogs
  • 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...
    January 13, 2009
  • 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...
    January 13, 2009
  • 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
  • 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...
    January 13, 2009
  • 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...
    January 13, 2009
  • 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