Telerik blogs

Latest

  • Web

    Loading data with RadDomainDataSource for Silverlight

    will continue the series of blog posts about RadDomainDataSource with the most important one – the one about loading data. If you are not familiar with RadDomainDataSource then you should go back and read my introductory blog post. Let us move straight to the data load lifecycle. Triggering a Load A load operation can be triggered in two ways. You can either call the Load method explicitly or you can rely on the AutoLoad functionality, which I will explain later in this post. Building The Query After a load has been requested a query based on user input is constructed on the client. This query tells the...
    December 27, 2010
  • 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