Telerik blogs

Latest

  • 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...
  • Desktop WinForms

    Quick Overview of RadCarousel For WinForms

    I put together a quick introduction to the RadCarousel for WinForms control and how you can get started working with it.  I have shown this control to a number of people during conferences and they always think it is a WPF control instead of WinForms.  It is really easy to get things going and simple to work with.  I hope you will take a look at the...
    May 18, 2009
  • People

    Telerik Trainer is now at the Visual Studio Express learning center

    Microsoft Germany has recently launched a cool new training program for Visual Studio Express. There are now about 10 training sessions (in German) for people who want to learn Visual Studio Express. The tutorials are available for online viewing as well as for an interactive training experience with Telerik Trainer. We have always tried to help the community with any of our resources and it was our pleasure to work with the MS Germany team. If you participate in a community project and think that you will be more successful with some help from Telerik please do not ...
    May 16, 2009
  • Desktop WinForms

    Picking and Choosing Columns with RadGridView for WinForms

    Have you ever run into a situation where you needed to allow a user to select which columns they want to see in a grid?  If you are using the RadGridView for WinForms you don’t have to lift a finger to implement this functionality.  The Column Chooser is available for the RadGridView out of the box.  Simply bind your data and you are ready to go.  You can access the Column Chooser by right clicking on any column and selecting Column Chooser from the context menu.  The Column Chooser is displayed as a floating window next to the application.  You can now drag...
    May 15, 2009
  • Productivity Reporting

    Setting custom skin for the web report viewer

    I've been asked a few times by clients how to customize the web report viewer's skins, so they can better match their company identity. I would try to describe 'the process' in this post. We are trying to stay close to the approach used for the RadControls for ASP.NET AJAX, so one who has used our web controls would be pleasantly surprised to find two familiar properties in Telerik Reporting - Skin and SkinsPath. As their names suggest, the first one is used to specify the name of the skin, while the second one specifies the path where this skin can be found. Let's start with...
  • 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...
  • Desktop WinForms

    Computing Values in the RadGridView for WinForms

    When working with data there are a number of occasions where you may want to calculate a value for display within a grid.  Did you know you can do this within the RadGridView itself?  It is really quite simple.  To compute a column within the RadGridView you need to set the Expression property of the destination column.  This may be a new column that you are adding to the grid to store the value or you can override the value of an existing column by setting the Expression property.  Below is an example of the syntax to calculate an average across all...
  • 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...
  • Desktop WPF

    Half and quarter circle RadGauge.

    Recently John showed how to create half-circle gauges and now I am glad to announce that RadGauge, both WPF and Silverlight, supports half-circle and quarter-circle styles out of the box. All you need to do is provide the correct resource through a ResourceDictionary and then use the corresponding style. The styles are named after the major geographical directions -- North, East, South and West, well we only use the first letters here - N, E, S and W. So the styles you need are <Theme>RadialGaugeHalfCircle<Direction>Style and <Theme>RadialScaleHalfCircle<Direction>Style. Check the following example - semi-circular, south-directed vista-styled gauge: And this is the XAML used:        ...
    May 12, 2009