Telerik blogs

Latest

For the latest product updates, please visit Release.

  • Desktop WPF

    How to: Validate data with SL/WPF RadGridView Part II – asynchronous validation on item/row level via RIA services and INotifyDataErrorInfo interface

    In my previous post I’ve tried to explain RadGridView validation mechanism and support for 2 layers of validation (UI and Data) for a property/cell level. RadGridView exposes same events on a row level too (RowValidating, RowValidated and RowEditEnded). Since this theory you can find on our online help I’ll begin with the interesting stuff - asynchronous validation example.   I’m glad to announce that with the next (2010.Q2) version RadGridView will support asynchronous validation. By asynchronous validation I mean that RadGridView can save a value in its collection and from somewhere (server side usually) to receive a message that this value doesn’t pass some...
    July 02, 2010 3 min read
  • Desktop WPF

    How - to: Change the Default Keyboard Behavior in RadGridView for Silverlight/ WPF

    RadGridView provides a set of keyboard navigation scenarios that will result in certain consequence of commands to be executed. Thus – and naturally in this case - when clicking on the Del–button will cause deletion of the current item, Ins-button will add a new one into the grid. However, there exists a great possibility that you do not need this pre-coded behavior and you want to predefine it. In that case you can follow up one of the following two scenarios. The first one is to use the basic interface responsible for the keyboard navigation – IKeyboardCommandProvider and implement your own...
    June 30, 2010 3 min read
  • Desktop WPF

    How Do You See Something Which Is Transparent?

    This was the question which has been bugging some of the Telerik’s creative minds while working on our newest theme for WPF and Silverlight controls. We wanted it be unique and cool and yet fit serious business cases. We wanted you to have fun and get things done at the same time. We wanted it to blend with your design right from the moment you choose to use it. Instead of hitting you with a wall of text – let me just show it to you … Ladies and Gentlemen – the Transparent Theme in action. The theme will be part...
    June 09, 2010 1 min read
  • Desktop WPF

    A Binding Navigator in the XAML world

    Remember the good old Binding Navigator of the glorious WinForms past? (If you don’t, this will refresh your memory) Last week a client asked or a Binding Navigator control in WPF. Now, this is somewhat out of place in WPF and Silverlight where the data binding mechanism is completely different, but if you are porting an old Windows Forms application and would wish to preserve the general user experience, such a control would be invaluable. This small control behaves much like the old Binding Navigator, while being fully MVVM-enabled through commands. You bind the control to your collection of items, then access...
    June 08, 2010 1 min read
  • Desktop WPF

    How - to: Bind to IsExpandable Property of GridViewRow in RadGridView for WPF with Attached Behaviors.

    Attached behaviors give you the opportunity to go far beyond the build-in functionality and to create one of your own. You are free to associate an action with an event or a property value. All you need is the assembly that comes with Expression Blend - System.Windows.Interactivity.dll. In our case here the goal will be to create a behavior that enables us to bind to the property of the RadGridView’s rows – IsExpandable. Normally you do not need to do nothing more but to set it to the value you want. However, if it is necessary to use it after...
    June 03, 2010 2 min read