Telerik blogs

Latest

  • Web ASP.NET MVC

    Hands on mocking of ASPNETMVC controller action

    In this post, I will start with an MVC sample created from the default template project that is bundled with ASPNET MVC2 installation. This template provides not just a dummy project with folder organized but rather a full running app.
    June 23, 2010
  • Web ASP.NET AJAX

    Column Animations for RadGrid for ASP.NET AJAX

    Coming with 2010.Q2 release of RadControls for ASP.NET AJAX is some eye candy for RadGrid users. In fact, never has an HTML grid been more interactive. RadGrid column animations will have your column headers fly around when you reorder columns or drag them over to the group panel. To get an idea of what column animations really are, try reordering some columns in Windows Explorer on Windows 7: What you get is a nice animation where headers move aside to make room for the dragged header. The idea is the same with RadGrid too. You drag one header to reorder the columns and the rest of the headers move...
    June 18, 2010
  • Web

    Touch scrolling in RadGridView for Silverlight

    A popular feature that is often requested is multi-touch scrolling in the RadGridView control. This is easily achievable in WPF, because of the new yummy System.Windows.Input.Manipulations namespace introduced in .NET 4.0. However, Silverlight has yet to receive such a high-level touch API. The only tool we have at our disposal is the System.Windows.Input.Touch class with its one member, the FrameReported event. Nevertheless, it gives us a lot of control when it comes to handling touch events. I used it to make a little behavior that enables touch scrolling. You can also scroll horizontally and by dragging the mouse (both options controlled...
    June 17, 2010
  • Web

    Manage all Resources and Appointments data for RadScheduler for Silverlight using RIA Services.

    This blog post could be helpful for those who seek a way to store and retrieve all appointments information like Resources, TimeMarkers, Categories. It also provides a handy way to handle recurrence exceptions without any additional code. 1. Database design (This step can be avoided if a DataModel is initially created and then a database is generated from it). The key points that need to be taken into consideration when planning the database are: Where to save appointments Where to save recurrent appointments’ exceptions Where to save resources and how to relate them with appointments Here is the database schema used in...
  • Web

    How To: Synchronize your UI selected items with your data context using MVVM and Blend behaviors for Silverlight and WPF

    Very often you need “two-way” binding between some UI component with multiple selection and a data context property for selected items – let’s say RadGridView and the following model: XAML <telerik:RadGridView ItemsSource="{Binding Data}" SelectionMode="Extended" SelectedItem="{Binding SelectedItem, Mode=TwoWay}"> … C# public class MyDataContext : INotifyPropertyChanged { ... ObservableCollection<MyObject> _SelectedItems; public ObservableCollection<MyObject> SelectedItems { get ...