Telerik blogs

Latest

  • 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
  • Web

    IE7 user agent bug

    Did you know that if your user agent string is more than 260 characters in length then your user agent string suddenly and almost magically becomes “Mozilla/4.0 (compatible; MSIE 6.0)”. I've just realized that I have exactly the same problem: Be extra careful!...
    November 07, 2008
  • Web ASP.NET MVC ASP.NET AJAX

    ASP.NET Ajax Controls in ASP.NET MVC

    The Q3 2008 release is now out and I am glad to inform you that RadScriptManager provides support for ASP.NET MVC view and master pages. What this means is that RadControls for ASP.NET Ajax can be used in ASP.NET MVC. We have tested with the ASP.NET MVC Beta 1 release. .csharpcode { overflow:auto; } .csharpcode, .csharpcode pre { font-size: small; color: black; font-family: Consolas, "Courier New", Courier, Monospace; background-color: #ffffff; /*white-space: pre;*/ } .csharpcode pre { margin: 0em; } .csharpcode .rem { color: #008000; } .csharpcode .kwrd { color: #0000ff; } .csharpcode .str { color: #006080; } .csharpcode .op { color: #0000c0; } .csharpcode .preproc { color: #cc6633; } .csharpcode .asp { background-color: #ffff00; } .csharpcode .html { color: #800000; } .csharpcode .attr { color: #ff0000; } .csharpcode .alt { background-color: #f4f4f4; width: 100%; margin: 0em; } .csharpcode .lnum { color: #606060; } Using RadControls for ASP.NET Ajax in ASP.NET MVC View Pages 1. Add an instance of RadScriptManager to your view page (or master page). Make sure the required HTTP handlers are properly registered (can be done from the smart tag in design time). 2. Add a control to your view page or master page. The following...
    November 06, 2008