Telerik blogs

Latest

  • 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....
    May 27, 2021 2 min read
  • Desktop WinForms

    Formatting Cell Values in the RadGridView for WinForms

    Earlier this week while working on another blog entry, I ran into a unique situation involving the RadGridView. Basically, what I am doing is retrieving user status data from Facebook using the Facebook Developer Toolkit. The data is returned in a list of objects based on the Facebook API schema. These objects are of type user_status and contain the following: uuid - long status_id - long time - long source - string message - string comment_count - int I basically wanted to take this list and bind it to the RadGridView showing only the message and the time for that message. This was pretty ...
    May 27, 2021 2 min read
  • Release

    RadEditor dialogs - what's new in the Q1 2010 release

    As usual, the next major update of the RadControls for ASP.NET AJAX will be packed with exciting new features. Unfortunately, this means that some performance related optimizations will be left in the background, which is why I want to present one of them here. The Q1 2010 release will add a new property for the RadEditor's RadDialogOpener control - EnableTelerikManagers. When it set to true and you have a RadScriptManager or a RadStyleSheetManager on the page, the editor dialogs will start using these controls as well. The main benefit from the script and stylesheet managers is faster loading speed - due to less...
    May 27, 2021 1 min read
  • Web

    How To: Server sorting, filtering, grouping and paging with RadGridView for Silverlight without WCF RIA services

    With our upcoming service pack (Q3 SP2) of RadGridView for Silverlight all operation like sorting, grouping and paging on the server can be achieved completely codeless when the grid is bound to DomainDataSource and in my previous post I’ve showed how to do the same for filtering with minimum code. You can even force the grid vertical scrollbar to page on the server instead DataPager. Since WCF RIA services is still in beta I’ve made small example how to achieve sorting, grouping, paging and filtering using custom web service: XAML <UserControl x:Class="SilverlightApplication1.MainPage" xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" mc:Ignorable="d" d:DesignWidth="640" d:DesignHeight="480" xmlns:data="clr-namespace:System.Windows.Controls;assembly=System.Windows.Controls.Data" xmlns:telerik="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.GridView"> ...
    May 27, 2021 2 min read
  • Release

    Telerik RadControls for ASP.NET AJAX Q1 2010 Roadmap

    For those of you who are eagerly waiting to learn more about our Q1 2010 plans for new controls additions and enhancements - RadControls for ASP.NET AJAX Q1 2010 Roadmap is already live on telerik.com and you can view it here: RadControls for ASP.NET AJAX Roadmap Highlights: Two new controls - Filter control and Async Upload. Audio support for RadCaptcha RTF/PDF export/import and thumbnails functionality for RadEditor DetailsView, FormView and GridView styled by RadFormDecorator Filtering capability in RadGrid's header context menu, built-in GridRatingColumn Built-in filtering and FloatedTiles layout for RadListView Visual clue for non-visible appointments and advanced form improvements for RadScheduler. Public Q1 2010...
    May 27, 2021 1 min read
  • Web

    Displaying images stored in MS SQL with RadGridView for Silverlight

    There are different ways to store images in a SQL database. In our little demo  we have the images placed as binaries in an image type column in a MS SQL table.. As you may know Silverlight works with a limited range of image formats(PNG and JPG). Therefore I have prepared a small sample database with a few jpeg images inside.   Silverlight being a client platform does not have direct access to the SQL server. It needs some server-side code to fetch the data. For the purposes of this demo I have used a WCF service  and Linq To Sql to connect to the database...
    May 27, 2021 1 min read
  • Release

    Telerik RadControls for Silverlight/WPF Roadmap Q1 2010

    For the upcoming Q1 2010 we will mostly work on improving and further polishing our current offering. We will work in several major directions – Performance improvements, VS 2010/Blend Design-time support improvements, Themes and Animations improvements, new Documentation, Assemblies’ size optimizations, Silverlight 4 builds. We are aware that the major tasks mentioned above are highly critical for most of our users and we will be putting lots of efforts into meeting our customers’ expectations.  The full Roadmaps can be found at: RadControls for Silverlight RadControls for WPF In these Roadmaps we included not only tasks that will be fully completed during this quarter, but also other major initiatives, which we have already started and on...
    May 27, 2021 1 min read
  • Productivity

    Using shared columns with Telerik OpenAccess ORM

    Telerik OpenAccess ORM always implemented relations between entities as reference properties (you can have properties on the both ends, or just on the one you decide) and this was the only supported way until now. Starting from Q3 2009 release we also started to support relations that are based not on reference properties, but rather on properties that expose the foreign keys for the entities. This pattern proved to be very useful for Linq To Sql, despite the fact that it is considered a ‘bad practice’ in the OOP domain. With the latest release of Telerik OpenAccess ORM we...
    May 27, 2021 4 min read
  • Web

    RadGridView for Silverlight and WCF RIA Services Part II: Basic Editing Support

    In my previous blog post I have demonstrated how to display master-details data in an asynchronous manner with RadGridView for Silverlight and WCF RIA Services. I have decided to refactor the sample project a little bit and add some very basic editing support. Here is the changes I have made to the sample project: I have recreated the ChinookService to support editing. I have encapsulated the details grid into a new user control called AlbumsControl. I have added a “Submit Changes” button below the details grid. I got rid of the IValueConverter that used to create the albums DomainDataSource and defined everything in...
    May 27, 2021 2 min read
  • Release

    Telerik Commanding mechanism for Silverlight Overview

    Q2 and Q3 releases brought up support for commands usable in a similar way as the commanding mechanism from WPF. In a few points the Commanding mechanism provides several classes: RoutedCommand and RoutedUICommand – ICommand implementations, the second has a Text property ICommandSource – once an object implement it, it knows how to invoke a command, i.e. it receives Command, CommandParameter and CommandTarget properties. CommandBinding – maps the command logic to the command CommandManager – provides methods that register CommandBinding and InputBinding objects, add and remove command event handlers, and provides services for querying the status of a command. Creating a command Basically, we can implement the...
    May 27, 2021 2 min read