Telerik blogs

Latest

  • Web ASP.NET AJAX

    ASP.NET Ajax Controls in ASP.NET MVC - Announcing the sample application

    I am glad to announce that yesterday we released a public sample application built with RadControls for ASP.NET Ajax, ASP.NET MVC and Telerik OpenAccess. You can check the online demo, or download the source code. This application is a basic online forum which uses RadControls in ASP.NET and demonstrates integration with ASP.NET MVC. Here are a few screens from the forum: The "home" page (uses RadTreeView, RadGrid and RadMenu) The "new thread" page (shows RadEditor)
    January 16, 2009
  • Desktop WPF

    Master/Detail with RadGridView for WPF using ObjectDataProvider and ADO.NET Entities

    In my previous post, I showed how to instantiate LINQ to SQL DataContext using ObjectDataProvider in WPF. With ADO.NET Entities you can do something similar: <Grid.Resources> <ObjectDataProvider x:Key="customers" ObjectType="{x:Type local:NorthwindEntities}" MethodName="get_Customers"> </ObjectDataProvider> <ObjectDataProvider x:Key="orders" ObjectType="{x:Type local:NorthwindEntities}"...
    January 16, 2009
  • Release

    RadComboBox and ASP.NET AJAX 4.0 Preview &ndash; using client-side templates and webservice load on demand

    Edit: The following content applies to ASP.NET Ajax 4.0 Preview 4. Download the project that uses the latest MS Ajax 4.0 Preview 6 from Here Many of you have asked us, the ASP.NET support officers, whether RadComboBox supports templates when bound to WebService. Using the latest official .NET Framework (3.5) the answer was ‘no’. Fortunately, this is possible with the client-side templates introduced in the next version of the .NET Framework – 4.0. Currently it is in a Preview stage and you can find its roadmap here.  We have already demonstrated how to use the new client-side templates in RadTreeView and RadGrid.
    January 15, 2009
  • Release

    New Telerik Trainer sessions for RadControls for WinForms

    We have posted two new Telerik Trainer sessions for our WinForms suite: An Overview of RadCalendar for WinForms, which shows its basic usage incl. setting some of its more important properties, how to use the Special Days collection, and how to style a particular day by using the Visual Style builder. The session is about 10min long and comes with working samples in VB and C# (for both VS2005 and VS2008). Download session (ZIP 17.8 MB). The other session, on RadComboBox for WinForms, is about 15 min long and demonstrates the various autocompletion modes, and how to take advantage of the multi-line text support....
    January 15, 2009
  • Web

    Encode and Decode strings using JavaScript

    In order for a string to be read from all computers sometimes it is useful to encode and decode it. This can be easily achieved using the JavaScript built-in escape() and unescape() methods. Both the escape() and the unescape() methods have the same argument – the string which will be escaped or unescaped. The escape() method returns a string value (in Unicode format) that represents the encoded contents of the function argument. All spaces, punctuation, accented characters, and any other non-ASCII characters are replaced with %xx encoding, where xx is equivalent to the hexadecimal number representing the character. For example, a space is returned as "%20". Additionally, having...
    January 15, 2009
  • Desktop WPF

    How To: WPF declarative binding to LINQ to SQL using ObjectDataProvider

    With ObjectDataProvider you can easily instantiate LINQ to SQL DataContext and request desired ITable using GetTable method: <Window x:Class="WpfObjectProviderWithLinqToSql.Window1" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation" xmlns:local="clr-namespace:WpfObjectProviderWithLinqToSql" Title="How to bind declaratively LINQ to SQL DataContext using ObjectDataProvider" Height="400" Width="500" ResizeMode="NoResize"> <Grid> <Grid.Resources> <ObjectDataProvider x:Key="customers" ObjectType="{x:Type local:NorthwindDataContext}" MethodName="GetTable"> ...
    January 14, 2009
  • 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...
    January 14, 2009
  • 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...
    January 13, 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