Telerik blogs

Latest

  • 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
  • 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
  • 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
  • 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
  • Desktop WPF

    WPF: Customizing the chart series appearance in RadChart

    RadChart comes with a versatile collection of preset themes (Summer, Vista, Office). At times you may wish to use one of the predefined themes but customize its appearance a bit to fit your specific scenario / application and the control provides easy mechanism to achieve the desired effect. RadChart uses the concept of style palettes in order to style the various chart series. There are distinct style palettes for the various series types (Line, Bar, Pie, etc.) and each palette can contain as many style elements as you want -- the first style is applied to the first chart series of...
    January 06, 2009