Telerik blogs
  • Desktop WPF

    How to: Create custom editor with RadGridView for Silverlight and WPF

    If you need a custom editor to edit a specific data, you can use one of the following approaches:   Use CellEditTemplate property of the GridViewColumn. Create a custom column by inheriting from GridViewBoundColumnBase.   As almost anything in our life both approaches have some advantages and disadvantages. Although it is quite easy to implement the first option, there are some significant disadvantages like not so usable with many RadGridView instances, and more important this bypasses the RadGridView validation and editing engine. For more information about this approach you can take a look at this online example.   In this blog post I’ll try to explain how to...
    November 12, 2009 5 min read
  • 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 7 min read
  • 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 1 min read
  • 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 3 min read
  • 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 2 min read