Telerik blogs

Latest

  • Web

    Training courseware for RadControls for Silverlight

    We now have a brand new, including over 1000 pages, free training courseware for RadControls for Silverlight. It provides tons of tips and tricks, how-to's, code samples (in XAML and both in C# and VB). All these structured in a step-by-step manner and covering most of the available RadControls for Silverlight. This training material will help you quickly get up to speed with Silverlight and will discuss some of the issues in common with all RadControls such as binding or theming, working with RIA Services (also WCF and ADO.NET), working with Expression Blend, etc.    The courseware is available to everyone...
    January 20, 2010
  • Web

    Handling multiple database connections with Telerik OpenAccess ORM

    Very often it is necessary to work simultaneously with more than one database. In such cases it is recommended that each database is mapped to a separate class model residing in its own assembly. The object scopes that handle the persistent objects should be obtained from an instance of the Database class which represents particular database on the server. To make this process easier Telerik OpenAccess ORM generates a helper class named ObjectScopeProvider. How to benefit from this class will be described later in this post. To explain practically how to configure the Visual Studio projects, consider the case of having...
    January 20, 2010
  • Web

    Highlighting Inline Search for RadGridView for Silverlight

    A common request on our forums is how to enable the Search As You Type online example to search in DateTime or Integer properties. Also recently another request was brought to our attention: How to highlight the matching search text in the grid cells. In this blog post I’m going to show you how to achieve these goals.   Let’s start our journey, by looking at the MainPage.xaml of the attached sample application:     1 <UserControl x:Class="DateTimeFiltering.MainPage"     2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     4    xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"     5    xmlns:themes="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls"     6    xmlns:i="clr-namespace:System.Windows.Interactivity;assembly=System.Windows.Interactivity"     7    xmlns:local="clr-namespace:DateTimeFiltering"     8    xmlns:jeff="clr-namespace:JeffWilcox.Samples;assembly=HighlightingTextBlock">    ...
    January 18, 2010
  • Web

    How To: Print your DataGrid (or any UIElement) on multiple pages with Silverlight 4

    In Silverlight 4 you can use PrintDocument to print easily any UIElement: …    var doc = new PrintDocument();    doc.DocumentName = YourDocumentName;    doc.PrintPage += (s, e) =>    {         e.PageVisual = YouUIElement;    };    doc.Print(); … and I’ve made an extension method that can be used to print any UIElement on multiple pages: public static void Print(this UIElement source, string documentName) { ...
    January 15, 2010
  • Web ASP.NET MVC

    Using Silverlight Upload control with ASP.NET MVC

    [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....
    January 15, 2010