Telerik blogs

Latest

  • Web ASP.NET AJAX

    ASP.NET binding with OpenAccessDataSource

    In the last post we saw how easy it is to reverse engineer a database schema. Let's now use the resulting persistent classes library to build the first website. Let's do it again step by step: Step 1: Use the resulting solution from the northwind reverse engineering post. Step 2: Add a new web application by execution File->Add->New Web Site... from the Visual Studio Menu. Choose ASP.NET Web Site. Step 3: Add a reference from the website to the class library. Select the website project in the Solution Explorer and execute Website->Add reference from the Visual Studio Menu. Select the class library project in the Projects tab.   All...
    November 15, 2008
  • Web

    Can your grid control do this?

        In “First Look at Silverlight 2” Scott Gu showed how easy is to change the visual appearance of a Silverlight application using the standard features of the Silverlight Grid control: While reading the blog, it occurred to me that it would be very easy to achieve similar effects with RadGridView for WinForms. With the latest version of RadGridView you can change the row layout using different view definitions in a very simplistic and easy way:     Using parts and ideas from Scott’s article, I compiled a small application that gets a list of article from digg.com via web services and shows them in RadGridView...
    November 13, 2008
  • Web

    REST Service Calls with grid client binding

      Inspired by Nikhil's blog post about C# 4.0 - Dynamic REST Service Calls I've made small demo how to bind the grid to Flickr REST API  and here is the result:   You can configure the service to return JSON and deserialize the result: and since we don't need all the data you can use LINQ to turn the result into more understandable objects: Enjoy!   [Live | Download]...
    November 12, 2008
  • Web

    Automatic insert, update and delete with UserControl edit form for the grid

    I'm happy to announce that we've implemented support for IBindableControl for the grid and now you can edit, update and insert with minimal coding if your user control implements this interface: Also using the power of LINQ you can fill the dictionary in a single line of code. Enjoy! [Live | Download]...
    November 11, 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 09, 2008