Telerik blogs

Latest

  • Web

    GridView in ComboBox with RadControls for Silverlight

    Recently we received several requests for an example, demonstrating how to put a virtualized GridView in a ComboBox popup. The best way to do this in my opinion is to replace the ItemsPresenter of the ComboBox with a GridView. There is some plumbing that has to be done, but I managed to separate it in two attached behaviors. The original idea is described in my blog post for TreeView in ComboBox which I recently updated with the latest control template of RadComboBox for Silverlight. The principle is exactly the same with RadGridView and it should work with very minor adjustments with...
    May 18, 2009
  • Web

    How To: Twitter search with RadGridView for Silverlight and Twitter REST API

    I’ve made small demo application on how to search Twitter using Twitter REST API and RadGridView for Silverlight:  To download Twitter ATOM response you can use simple WebClient: if (!String.IsNullOrEmpty(TextBox1.Text)) {     WebClient client = new WebClient();     client.DownloadStringCompleted += newDownloadStringCompletedEventHandler(client_DownloadStringCompleted);     if(!client.IsBusy)         client.DownloadStringAsync(new Uri(String.Format(urlFormat, TextBox1.Text, pageSize, currentPageIndex))); } and you can parse the response using XDocument.Parse() method: XNamespace atomNamespace = "http://www.w3.org/2005/Atom"; RadGridView1.ItemsSource = from item in...
  • 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

    RadScheduler for Silverlight

    At the beginning of Q2 we started several major initiatives and the results of them will start to appear soon (with the forthcoming SP2 release and Q2 2009). One of these major tasks we are currently working on is the RadScheduler for Silverlight. We are already done with porting the major features from its WPF counterpart and soon we will launch an official Beta release for you to evaluate. The Beta release is scheduled for the end of this month.  The RadScheduler for Silverlight Beta will be shipped with the Office Black theme that is the default theme for the official...
  • 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...