Telerik blogs
  • Web

    Passing parameters to a UserControl inside RadWindow for Silverlight

    I just wrote a simple application that demonstrates how to databind a treeview to a dummy data source and edit its items in a UserControl, placed in a RadWindow. You could see my other blog posts for examples with web service binding and upgrade the application to suit your needs. To accomplish the requirements, we need to add a property that will contain the edited data item on the UserControl. When the selection in the TreeView changes, we will update that property with the new selection and then open the RadWindow. The UserControl will create a copy of the data item...
    January 07, 2009
  • Web

    Marketing and Silverlight, configuring cross-domain banners

    I have been part of Telerik’s Silverlight team for almost a year now, and I too well know that our marketing team is just two floors away to say anything bad about marketing.  So I will just say that now having Silverlight 2 in its official version out, marketing mix should adopt one more P in its four P’s concept, Ptechnology. That is why, I will try to explain this topic step by step, so that all marketing guys attracted by the name of this topic can delete the first paragraph and give it to their development teams for consideration....
    December 30, 2008
  • Web

    Auto-complete ComboBox with WCF Service and RadControls for Silverlight

    Sometimes we need to load very large amount of items in a ComboBox and let the user select one of them. Usually in those cases the ComboBox allows typing in order to auto-select the items, that contain the text in the control. Such scenarios are possible with RadComboBox for Silverlight and now I will show you a simple application, that demonstrates what I think is a better practice for the implementation. We want to put all words from the English dictionary of RadSpell for ASP.NET in a RadComboBox for Silverlight and allow the user to select one of them, that will...
    December 04, 2008
  • Web

    TreeView in a ComboBox dropdown using RadControls for Silverlight

    As far as I can tell from the experience of my colleagues with RadControls for ASP.NET AJAX, one of the common feature requests for RadComboBox and RadTreeView is combining them into one piece. Recently we started to receive similar requests for RadComboBox and RadTreeView for Silverlight. Placing a TreeView in a ComboBox sometimes makes a lot of sense, so I decided to research the best way to do it.   The first, the simplest and most obvious way is to place a RadTreeView as content of RadComboBox: <input:RadComboBox> <nav:RadTreeView  ItemTemplate="{StaticResource ItemTemplate}"  ItemsSource="{StaticResource ItemsSource}" /></input:RadComboBox> This works, but it has one important limitation: RadComboBox cannot...
    November 08, 2008
  • Web

    RadControls for Silverlight 2 - Drag and Drop Basics

    Who would not like to implement a sleek drag and drop in minutes? I definitely would. This is why I find the new RadDragAndDrop a welcome addition to the controls. Straight to the point then: How to implement a simple drag/drop? To answer this question I will walk you through the DragDrop example that is available here: http://demos.telerik.com/silverlight/#Examples/DragAndDrop/FirstLook This example shows that the DragDrop can be used with any controls/objects, not just the Telerik RadControls. DragDrop 101 Few simple things to remember: Every object that will be dragged must have AllowDrag property to true, it is an attached property and in xaml it can be set the following way:   <Rectangle...
    October 15, 2008