• .NET

    Loading data with RadDomainDataSource for Silverlight

    December 27, 2010 Share
    will continue the series of blog posts about RadDomainDataSource with the most important one – the one about loading data. If you are not familiar with RadDomainDataSource then you should go back and read my introductory blog post. Let us move straight to the data load lifecycle. Triggering a Load A load operation can be triggered in two ways. You can either call the Load method explicitly or you can rely on the AutoLoad functionality, which I will explain later in this post. Building The Query After a load has been requested a query based on user input is constructed on the client. This query tells the...
  • .NET

    Introducing RadDomainDataSource for Silverlight

    December 24, 2010 Share
    am happy to announce that we have added a new data control to our Silverlight portfolio with one of our latest internal builds. The control will have its official premiere with the upcoming 2010 Q3 Service Pack 1, which is expected in early January. With the release of this service pack you will get access to all of RadDomainDataSource online examples. Since the first version of RadDomainDataSource is now 100% feature complete and has already passed QA, we have decided that we might as well share it with you as a small Christmas present. RadDomainDataSource is a Silverlight control that provides the missing...
  • .NET

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

    December 16, 2010 Share
    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...
  • .NET

    Using commands with RadDragAndDropManager for WPF and Silverlight

    December 15, 2010 Share
        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...
  • .NET

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

    December 11, 2010 Share
    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...