• Using the Multiple Selection of the RadCalendar control for Silverlight and WPF with MVVM

    Monday, June 13, 2011 by Miroslav Nedyalkov | Comments 0

    Developing and supporting MVVM applications is easy and effective. That's why we want to create MVVM applications that follow this pattern. Sometimes the controls we use have some limitations. For example, list properties, which are read-only and do not allow us to create an appropriate binding to our view-models. It is normal for properties of list type to be read-only, because this is considered a good practice, but it becomes a problem for the MVVM pattern. In the ItemsControl this problem is solved with two properties - Items and ItemsSource. This blog post is about an example that demonstrates how to create ...

  • How to Create Ad Rotator with Telerik TransitionControl and CoverFlow control for Silverlight

    Tuesday, January 11, 2011 by Miroslav Nedyalkov | Comments 10

    Today I'm going to show you a very simple way to turn any ContentControl or a ListBox control into an AdRotator control. "What is AdRotator control?", you would ask. A common definition for an AdRotator is a control that lets you to show some data (most commonly ads) and change it periodically. An AdRotator control should be a control that lets you do that out-of-the-box without writing any code. Furthermore, switching the ads with a nice animation will give our AdRotator more polished and glamorous look. To accomplish this, we are going to use RadTransitionControl (a ContentControl) and RadCoverFlow (a ...

  • How to create Custom Appointments and Custom Appointment Dialog in Telerik ScheduleView

    Thursday, November 25, 2010 by Miroslav Nedyalkov | Comments 8

    A common scenario when using the ScheduleView control is to have custom appointments with additional properties that are not by default included in the standard Appointment class. In these cases simply extending the Appointment class is not enough, because we have some more requirements – we want our custom properties to support cancelation of editing (like the standard one does), we want to allow the user to edit the custom properties using the Appointment edit dialog and eventually to render values of the custom properties in the AppointmentItem or/and its ToolTip.

    In this article we will go through the ...

  • How to activate a pane in the Telerik Docking control for WPF and Silverlight?

    Thursday, March 04, 2010 by Miroslav Nedyalkov | Comments 1
    One very requested scenario when the developers are using a Docking control is to activate a pane on certain user action. For example we may have a pane that contains some kind of output like the one in Visual Studio and when a message is added, the pane should pop-up wherever it is. Another example is the 'Find' dialog of the Visual Studio when the user preses Ctrl+F.

    This feature could be easily archived with the Telerik Docking control for Silverlight and WPF. In this blog post I will guide you through the implementation of a simple method that accomplishes this task ...
  • Using the RadDocking control with Prism

    Monday, August 31, 2009 by Miroslav Nedyalkov | Comments 20

    Prism can be thought of as a set of libraries that help Silverlight applications to be scalable and testable. It has a number of features (modularity, view regions and commanding) that help with this. A common scenario is to use Prism with a Docking control. You may want to create a shell with a Docking control and to mark some of the pane groups as regions and to use panes (or their content) as views.

    In this article we will create a sample application that accomplishes this scenario with the RadDocking control for Silverlight. We will need one additional ...

  • Customizing the header of RadPane control and adding behavior to it.

    Wednesday, August 19, 2009 by Miroslav Nedyalkov | Comments 0

    It is often necessary to customize the header of a RadPane. Really common is to need to put an image in the header, to bind that image to a property, etc. There are many scenarios in which you need to add some custom behavior to the header. One of this situations is when you need to have close button or another button in the header of the pane. The tricky thing here is that you need to implement an event handler for the Click event of the button and to write some code that will do something with the ...

  • Animating the RadWindow control for Silverlight and WPF.

    Wednesday, August 05, 2009 by Miroslav Nedyalkov | Comments 3

    We all know that animations are making our applications look more slick. As Silverlight and WPF are platforms that have great support for animations, we want our Silverlight and WPF applications to be more animated and look better.

     

     

    Today I will show you how to add animations support to the Telerik RadWindow control using one of the most powerful approaches in WPF and Silverlight for extending the functionality of existing components – the attached behavior. We will create two attached properties that take care to run the animations when needed. The good thing is that you can use ...

  • How to show hidden panes in the Silverlight docking control

    Tuesday, May 05, 2009 by Miroslav Nedyalkov | Comments 0

    Usually, when you use docking manager you want to be able to re-open the closed panes. This looks as simple as setting the IsHidden property of the pane to False. However, this does not cover all the cases. The pane might be in a ToolWindow and this ToolWindow might be closed by its X button. In this case, the pane would not be hidden, but it would not be visible either as it is in the hidden window.

    Another approach might be closing the last pane in a ToolWindow, thus triggering closing the window, too. In this case the ...

  • RadDocking Save/Load layout

    Wednesday, April 22, 2009 by Miroslav Nedyalkov | Comments 7

    Quite often the users might want to save and then restore the layout they have previously left when closing an application that uses any kind of docking layout management. The powerful Save/Load layout mechanism of Telerik RadDocking enables such users to accomplish this task in an absolutely straight-forward manner. The developers building the application can use the advanced API of the control and implement the needed logic with just a few lines of code.

    The example below demonstrates how to persist the panes’ position in a Weather Forecast Browser built specifically for this blog post.

    This is the first of ...