Telerik blogs

Latest

  • Web

    Customizing the header of RadPane control and adding behavior to it.

    It is often necessary to customize the header of a RadPane. Really common is to need to put an image in the header, to bind that image to a property, etc. There are many scenarios in which you need to add some custom behavior to the header. One of this situations is when you need to have close button or another button in the header of the pane. The tricky thing here is that you need to implement an event handler for the Click event of the button and to write some code that will do something with the Pane. In...
    May 27, 2021 4 min read
  • Web

    Drag and drop items onto RadScheduler for Silverlight

    We all are aware that users tend to look for the easiest and most rational way to do something. That is why developers always strive to create their products' interface as intuitive as possible. Speaking in this context, dragging and dropping helps us improve user experience significantly and make end users happier. In this blog post I will explain how we can use RadDragAndDrop to enable users drag items from a certain control and drop them over RadScheduler, while notifying about that. Of course, the described scenario could be extended to act in many different scenarios. Let us say we will drag items from a listbox to...
    May 27, 2021 2 min read
  • Web

    RadDrag&Drop with a Canvas twist

    A week or so ago I was giving a small presentation and one of the people in the audience had a great question.  They had this old configuration section on their website for laying out something or other that had a lot of different options which could be dragged and dropped using some client-side javascript, but they are looking to move on up to Silverlight and the RadDragAndDropManager seemed to be the perfect candidate for the job.  The only issue with that is the only examples we have online show moving items to and from collections, but in their case...
    May 27, 2021 2 min read
  • Web

    Validation support in RadControls for Silverlight

    One of the new data enhancements introduced in Silverlight 3 is the rich validation support. I am proud to announce that with our Service Pack release that is coming soon, RadControls for Silverlight will support all validation utilities introduced in Silverlight 3. Controls that benefit from the validation support in our Q2 Service Pack release are:   RadTimePicker RadDatePicker RadNumericUpDown RadSlider RadMaskedTextBox RadTreeView The binding engine can catch exceptions that occur while updating a value if either the setter function of the source object throws an exception, or the associated type converter. For example the following setter function will throw an exception that will be handled by the...
    May 27, 2021 2 min read
  • Web

    How To: Display Hierarchical Data with Row Details (RadGridView for Silverlight)

    The main goal of the Row Details feature is to let you present additional information about a row. This makes row details the perfect candidate for presenting hierarchical data. My sample uses two kinds of business objects – a football club and its players. As you might expect each club has some players. The master grid will show our clubs and when the user wants to see some additional information about a club he will be presented with the row details. Our first goal is to define what will these details look like. We would like to see some general information...
    May 27, 2021 3 min read