Telerik blogs

Latest

  • Web

    How To: Populate RadGridView for Silverlight distinct filters asynchronously using WCF RIA Services

    With our upcoming service pack (Q3 2009 SP2) you will be able to populate distinct values asynchronously using the DistinctValuesLoading event. To achieve this you can assign any INotifyCollectionChanged collection for distinct values ItemsSource and RadGridView will update the UI immediately on any change. I’ve made small demo on how to achieve this using WCF RIA Services and RadGridView bound to DomainDataSource with DataPager – in this case the grid distinct values are populated from the entire collection server-side not only from the current downloaded page:   server-side: public List<DistinctValue> GetDistinctValues(string propertyName) { var list...
    January 07, 2010
  • Productivity

    SQL Azure Lessons Learned: Building a Commercial Product with SQL Azure Support

    As you may know Telerik has built into most of its products support for Windows and SQL Azure. While at the PDC last November, Ben Riga interviewed me on what it was like to build a commercial product on top of Azure. I give a sneak peak at how we developed the software and how we leveraged SQL Azure. I talk about some of our pain points as well as where it was easy. The video is here, complete with my cell phone’s battery dying in the middle of our interview! Enjoy! Technorati Tags: Azure,Telerik
    January 07, 2010
  • Web

    Application Library Caching in RadControls for Silverlight

    As people become more aware of the fantastic things you can do with Silverlight, they’ve also realized one of the downsides of this can be increased XAP size.  The default way that Silverlight handles a XAP is to include all the required assemblies into that single compressed file.  This isn’t that bad when you’re working with a barebones Silverlight project, but once you start adding in different controls or 3rd party assemblies you are increasing your XAP size quite a bit in some cases.  And as we all know, a larger XAP leads to longer load times, and although people have...
    January 05, 2010
  • Web

    Vertical Orientation of CoverFlow for Silverlight

        The feedback about our new version of CoverFlow for Silverlight has been great! Thank you guys for pointing out all these small issues and problems that had to be polished since we introduced a new beta CoverFlow for Silverlight 3 back in September. After the core functionality of the control is successfully integrated in our Silverlight 3 suite, we are now able to start developing new features that every grown-up CoverFlow control should possess :) Vertical Orientation     Both in our forum and support system we have received numerous requests for vertical orientation of the CoverFlow control. That is why, with our 2009...
    December 29, 2009
  • Desktop WPF

    Using Compass indicators properties for Telerik's Docking Control for Silverlight and WPF

    Sometimes when using a Docking control and implementing complex UI with it we need to add some custom rules about allowing some panes to be docked in some parts of the application and to disallow them to dock to other parts. As this behavior is quite complex itself, we’ve decided to enable some scenarios to be available in XAML in a declarative way (the more static scenarios) and some scenarios to be available only through the code-behind.   In this post I will guide you through some simple steps that will show you how you could use both approaches. First of all...
    December 29, 2009
  • Desktop WPF

    How To: Easy print and print preview with RadGridView for WPF

    Using FixedDocument, DocumentViewer and PrintDialog you can easily create your own print and/or print preview for RadGridView for WPF. I’ve made two extension methods Print() and PrintPreview() to illustrate how to turn the grid into a print friendly document in few lines of code: … public static void PrintPreview(this GridViewDataControl source) { var window = new Window() { Title = "Print Preview", Content = new DocumentViewer() ...
    December 28, 2009
  • Productivity

    Dynamic Query with Telerik OpenAccess

    With the introduction of LINQ the concept of querying data became a first-class language construct in C# and Visual Basic.  LINQ enables to you write type-safe queries which are checked during compile-time. While type-safe queries are fine for certain situations, there might be cases where you want to construct a query on the fly, at runtime, based on certain selections made by the user. This is usually done using a string-based representation of the query. How can this be achieved via LINQ?   The LINQ team at Microsoft provides the Dynamic Query Library which extends the core LINQ API with capability to use...
    December 28, 2009
  • Desktop WPF

    Silverlight/WPF : Custom Legend with RadChart

      One of the less known features supported by Telerik’s RadChart for Silverlight/WPF is the ability to completely abandon the default control layout and build one of your own with no constraints for the number of elements used. The goal of this blog post is to shed some light on this functionality and to demonstrate the most common techniques that can be used to customize the legend. First of all, to build your own custom chart layout you should set the UseDefaultLayout property of the RadChart object to false. Here is the custom layout I prepared: <telerik:RadChart x:Name="RadChart1" UseDefaultLayout="False">             <Grid>                 <Grid.ColumnDefinitions>                     <ColumnDefinition Width="50"/>                     <ColumnDefinition Width="*"/>                 </Grid.ColumnDefinitions>                 <Grid.RowDefinitions>                     <RowDefinition Height="*"/>                    ...
    December 23, 2009
  • Release

    New release of Telerik Extensions for ASP.NET MVC - now with CDN support

      With the release of RadControls for ASP.NET Ajax Q3 2009 SP1 we introduced built-in CDN support. It was very logical that Telerik Extensions for ASP.NET MVC receive some CDN love as well. Now this is a fact! Go download the current release from here (open source) or here (licensed).   Enabling global CDN support from web.config Add the following XML in your web.config: <configSections> <sectionGroup name="telerik"> <section name="webAssets" type="Telerik.Web.Mvc.Configuration.WebAssetConfigurationSection, Telerik.Web.Mvc"/> </sectionGroup></configSections><telerik> <webAssets useTelerikContentDeliveryNetwork="true" /></telerik>
    December 23, 2009
  • Web

    Telerik Silverlight controls and SharePoint 2010

    We just uploaded a video produced by Sahil Malik, a Microsoft MVP and INETA speaker. This video shows how to use Telerik Silverlight controls in SharePoint 2010. The approach demonstrated in this video is Telerik Silverlight controls working with the client object model, in particular RadScheduler talking to the Calendar list.     For more details you can also check Sahil's blogpost at: Telerik Controls with SharePoint 2010 Client Object...
    December 22, 2009