Telerik blogs

Latest

  • 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
  • Web

    Customizing RadRichTextBox’s ContextMenu and SelectionMiniToolBar

    With Q3 2010 we introduced some cool UI additions to RadRichTextBox, including SelectionMiniToolBar and ContextMenu. SelectionMiniToolBar SelectionMiniToolBar is a floating toolbar that appears next to the current position after making a selection with the mouse in the document. It contains some useful commands for formatting text: As RadRichTextBox loads the default SelectionMiniToolBar using MEF, it can be completely replaced with a custom one. This can be done as easy as with the other RadRichTextBox dialogs by implementing the ISelectionMiniToolBar interface and marking the class that implements it with the CustomSelectionMiniToolBarAttribute attribute. The technique was also described in greater details in this blog...
    November 17, 2010