Telerik blogs

Latest

For the latest product updates, please visit Release.

  • 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 1 min read
  • 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 1 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...
    January 13, 2009 3 min read
  • 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 3 min read
  • Desktop WPF

    Putting Instructional Prompts in Controls

    When asking the user to provide input in any application it can help to give them guidance on what you are expecting.  There are a variety of ways to accomplish this, but one in particular seems to be very effective.  If you have ever used Microsoft PowerPoint you will undoubtedly have seen a screen similar to the graphic below. The instructional prompt effectively conveys to the user where to type a title and subtitle for the slide.  Better yet, the user can ignore these prompts and proceed with other activities in the application.  Live Search Map provides another example of...
    December 28, 2008 2 min read