Telerik blogs

Latest

  • Web ASP.NET MVC

    Binding Telerik Grid for ASP.NET MVC to OData

    We have just made a nice demo application showing how to bind Telerik Grid for ASP.NET MVC to OData using Telerik TV as OData producer. The grid supports paging, sorting and filtering using OData’s query options. To do that we implemented a helper JavaScript routine (defined in an external JavaScript file which is included in the sample project) which is used to bind the grid. Here is how the code looks like: @(Html.Telerik().Grid<TelerikTVODataBinding.Models.Video>() .Name("Grid") .Columns(columns => { columns.Bound(v => v.ImageUrl).Sortable(false).Filterable(false).Width(200).HtmlAttributes(new { style="text-align:center" }); ...
    December 16, 2010
  • Web

    Server sorting and filtering with WCF RIA Services and Telerik Data Virtualization for Silverlight

    I’m happy to announce that with our upcoming service pack (Q3 2010 SP1) you will be able to sort, filter and load records on demand with WCF RIA Services and our VirtualQueryableCollectionView.   To enable this we’ve added two extension methods for EntityQuery<T> and now you can use directly VirtualQueryableCollectionView SortDescriptors and FilterDescriptors: var context = new NorthwindDomainContext(); var query = context.GetOrder_DetailsQuery().OrderBy(o => o.OrderID); var view = new VirtualQueryableCollectionView() { LoadSize = 10, VirtualItemCount = 100 }; view.ItemsLoading += (s, e) => { var queryToLoad = query .IncludeTotalCount(true) ...
    December 09, 2010
  • Web

    Some insight on the Telerik Weather Station application

    We have recently uploaded the Weather Station demo showing some of Telerik controls for Silverlight in a great rich context. Following Kalin’s blog post announcing the main features, this one is to provide some notes on the technical side of the matter. Here is a list of the main features: Find client’s location upon startup and retrieve weather information if available. Store current locations and favorite ones in the local storage for proper loading on next startup of the application. Use two formats for weather values - Celsius and Fahrenheit. Search for custom location. Display brief location information (on smaller zoom levels) as well as...
    November 26, 2010
  • Web

    Weather Station &ndash; An Awesome New Silverlight Demo by Telerik

    We all check the weather before we leave our homes, when planning our business trips, when we take our loved ones on vacation. The weather is something we talk about and we all have our own way of reacting to it as it more often than not it affects our mood. So how do we deal with it? We try to stay informed and the coolest way to do that is with the Telerik’s Weather Station application.     The Weather Station was designed to mimic a real world weather application. By navigating through the map-based user interface, you can both select some...
    November 23, 2010
  • Web

    RadTreeView's TriState Mode in Deep

    Many of you have probably used Telerik's TreeView or going to do so in the future. One of its many features is the TriStateMode. In this blog post I'm going to explain how TriStateMode mode is designed to work and propagate the values up and down the tree. When in TriStateMode (IsTriStateMode=”True”) checking/unchecking an item makes the TreeView propagate the value. The value propagation actually checks/unchecks all items’ children and updates the chain of parents with appropriate value (checked, unchecked or undetermined). CheckState vs. IsChecked The TreeView exposes two properties used to manipulate items' check state - CheckState (of type ToggleState) and IsChecked...
    November 20, 2010