Telerik blogs
  • 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...
  • Web

    Breaking the ice: RIA Services and Silverlight 3

    Implementing Line of Business applications has never been easier before. RIA services together with the rich presentation layer in Silverlight provide a powerful foundation for building n-tier application that will do the heavy lifting of your data layer. RIA Services relies on the ADO.NET Entity Framework to create an entity data model of your relational database and interpret the entities independently of their data store representation. In this way you can use the power of LINQ to Entities to implement query logic against the entities without using t-sql, and rely on the entity relationship to retrieve information for any relationship between...
  • Web

    Cannot discover WCF services in your Silverlight application?

    If you try to add service reference in your Silverlight application and you simply cannot discover any services in the solution using the Add Service Reference tool here is the way how to solve it. Note that the issue occurs both in Silverlight 2 and Silverlight 3 Beta.     1. Uninstall your Silverlight tools for Visual Studio      2. Go to C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE or the place you have installed your Visual Studio environment.     3. Delete the file Microsoft.VisualStudio.ServicesProxy.dll      4. Install again Silverlight tools for Visual Studio and note that your file will be created again. There seems to be something wrong with the installer of Silverlight tools, which...
  • Web

    Using IValueConverter to format values in RadControls for Silverlight

    It’s often necessary to modify or format some of the raw data received by your data tier application or other data sources. In Silverlight, you can create your own value converter and introduce your own formatting rules. In this blog post I will create a simple value converter that formats double values, and then use it with a RadComboBox. First, let’s create a class that will represent our data source. The equivalent of this class in more realistic scenario would be a proxy class generated by your data tier application in case you use RIA services.     public class Data : List<Item>       {           public Data()           {               this.Add(new Item() { Name = "Ferrari", Price = 120000 });               this.Add(new Item() { Name = "Mercedes", Price = 100000 });...
    April 29, 2009