• .NET

    Understanding the Telerik Reporting WCF Service

    February 11, 2010 Share
    After working a bit with the Silverlight Report Viewer for Telerik Reporting, it seemed only natural to write a quick post to explain how exactly the Reporting WCF Service (located here in the help file) works and how to quickly and easily get started with it. To start with, why do we need a WCF service for Telerik Reporting?  The answer is that we added a Silverlight Report viewer not too long ago, and in order to get information to a Silverlight client application you need to either use a javascript bridge through the webpage hosting the XAP, which is a slightly clunky...
  • .NET

    WPF / Silverlight: Integrating RadChart and RadContextMenu Controls

    One common request that we are receiving recently is how to integrate the RadChart and RadContextMenu controls so they play nicely together. A typical real-life scenario would probably require that each ChartItem should display different (context-specific) set of menu items. In order to address the increased interest in this functionality we decided to add a new integration example for the Q1 2010 release but for those of you that need something working right now, here is a quick overview of the required steps to add context-specific menu to Bar series items in RadChart (this can be applied to any series...
  • .NET

    Programmatic export to PDF from Silverlight application

    February 03, 2010 Share
    Ever wanted to export a Telerik report from a Silverlight application? This is easily accomplished by instantiating the ReportServiceClient class, which plays the role of proxy to the Telerik Report Service. To specify that you want to render the report we use the RenderAsync method of the ReportServiceClient, which invokes the respective method on the server (remember that it serves as proxy) that would return the rendered report. Since we’ve used an asynchronous method and we do not know when the render would finish, we need to handle the RenderCompleted event. In the RenderCompleted event we get the result from the rendering and decide what to...
  • .NET

    MicroModels for Silverlight

    January 21, 2010 Share
    Last week I was impressed by Paul Stovell’s marvelous project – MicroModels. In a nutshell a micro model is a view model over your objects, which allow you to define dynamic properties, collection and commands. You can read more about it in Paul’s introductory blog post here. Despite its great features, “MicroModels” has one big limitation - it does not run in Silverlight. And this is where my journey began. My mission was to port the code to Silverlight with little to no modifications. Porting the code to Silverlight The task was not an easy one, but after a lot of head scratching...
  • Mobile

    Using Silverlight Upload control with ASP.NET MVC

    January 15, 2010 Share
    [Download the complete final project] We got a customer inquiry today about how to integrate the Telerik Silverlight Upload control within an ASP.NET MVC site. This is quite an interesting scenario, especially with the new Drag and Drop from the file system coming with our Silverlight 4 release in the mid-March. I was not sure what should be done to run the SL upload in the MVC site. This was my first time experience with ASP.NET MVC 2 and it turned out to be a very pleasant and easy one. These are the steps that need to be followed: 1. Create an ASP.NET MVC site: 2....