• .NET

    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
  • .NET

    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
  • .NET

    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
  • .NET

    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
  • .NET

    Drag from external programs into you WPF applications using RadDragAndDropManager

    Since Q3 2010 we have introduced new drag mode, enabling native drag from and to your WPF applications. In this post I will show how to successfully perform drag drop operations from external program into your application through the RadDragAndDropManager API. This can be achieved in several easy steps:   1. Set RadDragAndDropManager.EnableNativeDrag=”true”. This will enable native operations (if your application runs in full trust). The easiest way to do this is set it in StartUp event.           private void Application_Startup(object sender, StartupEventArgs e)         {             RadDragAndDropManager.EnableNativeDrag = true;         }   2. Set the RadDragAndDropManager properties to enable the drop operation:   telerik:RadDragAndDropManager.AllowDrop="True" telerik:RadDragAndDropManager.DropQuery="FileListGrid_DropQuery" telerik:RadDragAndDropManager.DropInfo="FileListGrid_DropInfo"   and add the corresponding...
    December 08, 2010