Telerik blogs
  • Web

    Applying Themes on RadControls for Silverlight

    The theme engine of RadControls for Silverlight is quite powerful and provides the developers with the ability to apply application-wide theme on all RadControls, as well as specific theme on a single control. If the theme does not contain the needed styles, the controls fallback to their default styles, so you could create an application theme for just a couple of controls and the rest will display with their default styles. We also provide styles for the standard controls, such as Button, CheckBox, RadioButton, etc. which enables you to create application with consistent look and feel. Each theme is distributed as...
    May 18, 2009
  • Web

    GridView in ComboBox with RadControls for Silverlight

    Recently we received several requests for an example, demonstrating how to put a virtualized GridView in a ComboBox popup. The best way to do this in my opinion is to replace the ItemsPresenter of the ComboBox with a GridView. There is some plumbing that has to be done, but I managed to separate it in two attached behaviors. The original idea is described in my blog post for TreeView in ComboBox which I recently updated with the latest control template of RadComboBox for Silverlight. The principle is exactly the same with RadGridView and it should work with very minor adjustments with...
    May 18, 2009
  • Web

    Silverlight DragDrop Hello (Real) World Application

    A Most Interesting Hello (Real) World Application Sometimes you can get away with a small application to show off some features. But dragging rectangles around is just not enough. You need a TreeView, you need a GridView, ListBox and a good user feedback. Why not place everything in a Docking Control? Some examples of DragDrop can be a bit unrealistic. You do not always have your elements defined in XAML. You cannot always have a reference to the containers you want to drag/drop. So we need to go a bit more real-world. What I tried to do is create a simple application that...
  • Web

    Localization for RadControls for Silverlight and WPF

    As we are continuously working on the localization of all our controls, we'd like to share how the localization is actually progressing at our side. With the RadControls for Silverlight Q1 2009 SP1 we introduced the LocalizationManager. Actually we have used it to localize the RadUpload control for Silverlight. Now we have four more controls localized right from the box: RadTreeView, RadMediaPlayer, RadColorSelector and RadColorPicker. In the attached example you can see them localized. Another control to be localized soon is the RadGridView control. The LocalizationManager allows you to easily localize any of our controls. In addition, we followed the practice to share the same code across Silverlight...
  • Desktop WPF

    Half and quarter circle RadGauge.

    Recently John showed how to create half-circle gauges and now I am glad to announce that RadGauge, both WPF and Silverlight, supports half-circle and quarter-circle styles out of the box. All you need to do is provide the correct resource through a ResourceDictionary and then use the corresponding style. The styles are named after the major geographical directions -- North, East, South and West, well we only use the first letters here - N, E, S and W. So the styles you need are <Theme>RadialGaugeHalfCircle<Direction>Style and <Theme>RadialScaleHalfCircle<Direction>Style. Check the following example - semi-circular, south-directed vista-styled gauge: And this is the XAML used:        ...
    May 12, 2009