Telerik blogs
  • Web

    Data-binding Telerik CoverFlow for Silverlight + some Routed Commands goodness

    With our still hot Q3 2009 release we introduced a brand new RadCoverFlow control, that was rewritten from scratch in order to be able to exploit some new features in Silverlight 3 that improved both its performance and appearance. We are now using matrix projections to transform the items’ content and pixel shader effects to render the reflection. This allows us to show and properly transform any element in RadCoverFlow, including UI Elements, controls and video, as well as instantly synchronize the reflection. This major change in the control caused major changes in its API and usage patterns. We provide some...
    November 05, 2009
  • Web

    Virtualized Telerik ComboBox for Silverlight

    In some scenarios it is required to load thousands of items in a ComboBox. Since by default the control creates RadComboBoxItem containers for each data item, it might take some time to open the drop-down. To resolve the problem you only need to change the RadComboBox ItemsPanel with VirtualizingStackPanel: <telerikInput:RadComboBox> <telerikInput:RadComboBox.ItemsPanel> <ItemsPanelTemplate> <VirtualizingStackPanel /> </ItemsPanelTemplate> </telerikInput:RadComboBox.ItemsPanel> </telerikInput:RadComboBox> .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: consolas, "Courier New", courier, monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; }   thus making the drop-down to open instantly. Attached is a simple application that loads 1000 items in two RadComboBox controls, one virtualized, the other – not virtualized. The difference between the two controls is visible and becomes much larger if you create 100,000 items! VirtualizingComboBox I hope this helps....
    October 28, 2009
  • Desktop WPF

    How to: Validate data with SL/WPF RadGridView Part I – validating on property/cell level via Data Annotations

    With the next Q3 2009 official release we are introducing a significant improvement to the validation mechanism of the RadGridView control. If we compare the new validation to the previous versions we add another validation layer (Data Layer) and refactoring of the related events. In a series of blog posts I’ll try to clarify this mechanism with several small examples. I’ll start the series with validation for a single cell.   How to: Validate data on a cell (property) level with RadGridView for Silverlight and WPF   The cell validation occurs when a GridViewCell is edited and its new data is about to be committed. At...
    October 27, 2009
  • Desktop WPF

    RadChart for Silverlight/WPF: Multiple Y axes support

    The secondary axes feature has been one of the most frequently requested over the time by our customers and also one of the major new development tasks that found place in our Q3.2009 schedule. Now I’m glad to announce that the wait is near its end. Our development team did their best to not only make it happen but to make it happen in time for the Q3.2009 beta 2 release(later this week). Thus, the most enthusiastic amongst you, will have the chance to grab this early release and play around with this new stuff. Let us have a brief...
    October 13, 2009
  • Web

    Navigation for CoverFlow

    The Silverlight team decided to remove the ScrollBar control that used to be part of CoverFlow's control template. One of the reasons behind this decision is the easiness by which you can now, using Silverlight 3 element binding, create your own navigation. To learn more about all changes introduced by the beta version check my previous blog post here. This article explains in details how to create your own navigation using a range control, e.g. one that inherits from the RangeBase class. The first thing we need to do is to declare a CoverFlow control with some items in a straight-forward...
    October 06, 2009