Telerik blogs

Latest

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

    Binding a ComboBox to Enum Values with RadControls for Silverlight

    A common request in our support is to display a combo box, containing all values of a specific Enum. This is fairly easy with RadComboBox for Silverlight - all you need to do is to fill its ItemsSource collection with the Enum values. The best way to do this is to create a view model for the Enum: using System; using System.Collections; using System.Linq; using System.Reflection; namespace SilverlightApplication1 { public class EnumModel { private Type enumType; public IEnumerable Values { get; private set; } [TypeConverter(typeof(TypeTypeConverter))] ...
    June 12, 2009
  • Web

    Silverlight/WPF RadChart axis improvements.

    Along with the numerous updates that are coming up with the Q2.2009 version of RadChart for WPF/SL, we are going to introduce significant improvements of the way our horizontal axis handles user data. Actually, a bunch of new features will make the horizontal axis much more intelligent and easy to use. First of all, the horizontal axis will be able to properly handle "X" value data! As soon as a DataPoint with meaningful "X" value is received, the horizontal axis will enter "strict" mode and will place it appropriately.      To make this possible we also implemented the following supporting features: Automatic range calculation...
    June 04, 2009
  • Web ASP.NET AJAX

    Common RadWindow issues and their solution

    The RadWindow control is part of the Telerik’s RadControls for ASP.NET AJAX suite and is intended to replace the standard browser’s popup (window.open()). Since the control is based on an IFRAME, it behaves just like one – basically, whatever can be done with an IFRAME, can be achieved with RadWindow as well. This fact is useful when you investigate a reason for some problem related to the RadWindow control. Just replace the RadWindow with a standard IFRAME or browser’s popup and see how your application will behave in this case. If the problem still exists, then it is not related to the...
    June 04, 2009
  • Web

    Data-binding menu, context menu and toolbar, a.k.a. a simple text editor for Silverlight

    This demo extends my previous sample, that demonstrated how to add a right click context menu on a TextBox. Here I will show how to create context sensitive main menu and toolbar, in addition to the context menu. The demo will also demonstrate some advanced enhancements that we added to the Silverlight 2 Framework, such as merged dictionaries and container bindings. The application enables/disables the Cut and Copy commands when there is no selection and also disables the Paste command when there is no clipboard content. As in the previous blog post, the clipboard methods work only in IE. Here is how...