Telerik blogs
  • Desktop WPF

    Programatically selecting visual items with the new Interactivity API in RadChart for Silverlight / WPF

    Hi everyone! As you know RadChart supports selection and hover interactivity effects and 2010.Q3 release exposes an API that allows you, the developer, to control it. Now I am going to show you how you can select any number of items only by moving your mouse.   First let’s start with the rectangle selector that the user draws with its mouse. I have added a canvas on top of the Radchart to hold the rectangle. We need to listen to MouseLeftButtonDown, MouseMove and MouseLeftButtonUp events to control the rectangle position and size. The tricky part is how to convert the size of the rectangle...
    December 16, 2010
  • Desktop WPF

    Using commands with RadDragAndDropManager for WPF and Silverlight

        In this post I will demonstrate how to extend the Drag Drop functionality of the RadDragAndDropManager adding command support by using the attached behaviors extensibility. That way one can easily move the logic for the operation from the code behind into your model and work only with the Data object. To demonstrate the idea I will use scenario where items are being dragged between ListBoxes.   The behavior transforms the Drag Drop events into commands. It exposes the following properties: - DragCommand – executed when dragInfo event is raised. - DropCommand – executed when dropInfo event is raised. - DragCueTemplate – data template that defines the dragcue...
    December 15, 2010
  • Desktop WPF

    OData support in RadGridView for Silverlight and WPF: The Netflix Catalog

    The Open Data Protocol – the other Microsoft data access strategy along with WCF RIA Services, did not gain as much as popularity as its RIA cousin (yet!). But here in Telerik we want to give you as much freedom and power as possible and this means making it extremely easy for our clients to access and manipulate their data in applications built with our components. Our RadDomainDataSource is coming soon, but is only one piece in the puzzle of enhanced data support in our controls – starting with RadControls for Silverlight and RadControls for WPF Q3 2010 it’s as simple as pie...
    December 11, 2010
  • Desktop WPF

    Real-time update of Sparklines inside RadGridView SL/WPF

    Since Q3 2010 Telerik introduced the RadSparklines control. These new controls have remarkable performance as Yavor already showed. Today we will continue the topic of performance, however, we will do it in the context of a more real-world scenario. One application of the sparklines is to show financial data. Recently Vladimir Enchev blogged about real-time updates in RadGridView. Since sparklines and grids go hand-in-hand together when visualizing data we decided to prepare a small demo showing how to integrate both controls while still maintaining very good performance: In our project we took the real-time grid demo and also added some sparklines to it to illustrate...
    December 10, 2010
  • Temporary Post Used For Theme Detection (0c51bbe5-45e6-4e2a-970e-42317b0a1a5e - 3bfe001a-32de-4114-a6b4-4005b770f6d7)

    This is a temporary post that was not deleted. Please delete this manually. (7a9b4604-10c5-4017-bf13-f6e121059017 - 3bfe001a-32de-4114-a6b4-4005b770f6d7)...
    December 10, 2010