Telerik blogs

Latest

  • Web

    Today is the day - see the light? Silverlight 3 is finally out!

    In fact you can download almost everything even now! Despite all breaking changes between the beta and RTW (System.Windows.Controls.Data => System.ComponentModel = > System.Windows.Data) as always Telerik will follow the good traditions and next week we will release RadControls for Silverlight 3. Stay tuned – more will come!...
  • Web ASP.NET AJAX

    Z-index demystified

    In this blog post I will try to explain how CSS z-index works and a how to avoid a few common mistakes. First of all the z-index is used to control the z-order of positioned HTML elements. Simply put it controls the stacking order of HTML elements. To set it set the "z-index" CSS attribute of your element to some integer value. Z-index works only for positioned elements. Positioned elements are elements whose "position" CSS attribute is set to "relative", "absolute" or "fixed". The default "position" is "static" which means that by default setting z-index has no effect. Z-index is NOT measured in...
  • Web

    RadioButton and CheckBox Menu Items with RadMenu for Silverlight

    RadMenu for Silverlight supports simple checkable items, but still does not support radio button items. This feature is scheduled for development and most probably will come with Q3 2009, but until then you have to code it by yourself. Fortunately, this is relatively easy with a proper ViewModel, that contains the radio-button logic: The CommandItem class contains the properties and the logic for a RadMenuItem. It implements INotifyPropertyChanged and its most important property is IsChecked: public bool IsChecked { get { return this.isChecked; } set ...
    June 19, 2009
  • Web

    Scrollable Menu – Workaround with a Multi-Column Menu and RadControls for Silverlight

    RadMenu and RadContextMenu for Silverlight cannot automatically scroll their items if their height exceeds a certain height. We are planning to implement this feature in the near future, but at the moment there are two workarounds for the developers: override the RadMenu control template and add ScrollViewer controls around the ItemsPresenters, or customize the ItemsPanel of the RadMenuItem controls, so the sub-items are displayed in columns. The second option is much easier and looks good enough: The main idea is to replace the RadMenuItem ItemsPanel, that is a StackPanel by default, with a WrapPanel. To set the ItemsPanel property of all...
    June 19, 2009
  • Web ASP.NET AJAX

    Using the RadFileExplorer for ASP.NET AJAX in a MOSS web application

    The RadFileExplorer is a fairly new control in our ASP.NET AJAX suite and we are happy to see that a lot of people are already adopting it into their solutions. In this post I will show how to make the file explorer work with SharePoint libraries. By default, the control interfaces with a virtual folder in your web application and allows you to do all kinds of file/folder operations (create new folders, upload/move/delete items, preview, etc.). Unfortunately, the default behavior of the control is limited to virtual folders that can be mapped to physical locations on the server's drives. MOSS web...
    June 17, 2009