Telerik blogs

Latest

  • Web

    Saving some lines of code when using RadWindow

    If you are using some of the predefined modal dialogs part of RadWindow: Alert, Prompt and Confirm you may find this article quite handy. As you know the calls to these methods are asynchronous, thus you cannot stop the current UI thread in order to get the user feedback from the windows synchronously. This introduces some issues such as the need to declare class member variables whenever they may not be necessary. Due to that there have been a few requests on our support website to create a generic parameter inside the static calls of the dialogs with the purpose of carrying...
  • Web

    Integrating RadChart for Silverlight in existing ASP.NET applications

    There’s an emerging trend to integrate cool new silverlight controls into existing production asp.net solutions. And why wouldn’t it be there? There are many  asp.net applications in production out there that have been working quite well and don’t need to be replaced by a completely new technology. Wouldn’t it be nice, however, to spice them up a little with some rich silverlight visualization tools? This is exactly what a lot of our customers have been asking for lately. Well, here you can see some resources we published that will help anyone who wants to plug in RadChart for Silverlight in...
  • Web

    Applying Themes on RadControls for Silverlight

    The theme engine of RadControls for Silverlight is quite powerful and provides the developers with the ability to apply application-wide theme on all RadControls, as well as specific theme on a single control. If the theme does not contain the needed styles, the controls fallback to their default styles, so you could create an application theme for just a couple of controls and the rest will display with their default styles. We also provide styles for the standard controls, such as Button, CheckBox, RadioButton, etc. which enables you to create application with consistent look and feel. Each theme is distributed as...
    May 18, 2009
  • 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...