Telerik blogs

Latest

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

    Grid client-side data-binding performance with 1 mil. records

    Just before our Q3 release I've made quick test to see how the grid will perform with 1 mil. records table and here is the result: In this example the grid is bound with our new client-side declarative approach to a static page method: ... <DataBinding Location="~/Default.aspx" SelectMethod="GetData" SortParameterType="Linq"  FilterParameterType="Linq" />   ... ... [System.Web.Services.WebMethod]    public static Telerik.Web.UI.GridBindingData GetData(int startRowIndex, int maximumRows, string sortExpression, string filterExpression)    { ...
    November 05, 2008