Telerik blogs
  • Web ASP.NET AJAX

    Built-in filtering support for RadListView ASP.NET AJAX

    Beside of all the other new neat features the RadListView for ASP.NET AJAX will have with the Q1 2010 release, it will also incorporate built-in filtering capabilities. The control will expose a fluent-like server-side API which can be used to specify filter expression in the following manner:   listView.FilterExpressions.BuildExpression() .GreaterThanOrEqualTo("OrderDate", DateTime.Parse("7/5/1996")) .And() .Group(group => group.EqualTo("ShipCountry", "Germany") .Or().EqualTo("ShipCountry", "France") ...
    February 16, 2010
  • Release

    RadComboBox for ASP.NET AJAX Q1 Beta: Automatic server-side Load On Demand

    If you have been using RadComboBox frequently in your projects, you have probably written the following or very similar code many times: protected void RadComboBox1_ItemsRequested(object sender, RadComboBoxItemsRequestedEventArgs e) { SqlDataAdapter adapter = new SqlDataAdapter( "SELECT * from Customers WHERE CompanyName LIKE @text + '%'", ConfigurationManager.ConnectionStrings["NorthwindConnectionString"] .ConnectionString); adapter.SelectCommand.Parameters.AddWithValue("@text", e.Text); DataTable data = new DataTable(); adapter.Fill(data); int itemOffset = e.NumberOfItems; int endOffset = Math.Min(itemOffset + ItemsPerRequest, data.Rows.Count); e.EndOfItems = endOffset ==...
    February 16, 2010
  • Release

    Q1 release of RadControls for ASP.NET AJAX will require .NET 3.5 Service Pack 1

    Starting with the Q1 2010 release we’ll be building against .NET 3.5 SP1. This is a new requirement and older releases are still compatible with .NET 3.5 RTM. There is no change in the requirements for the .NET 2.0 builds. Generally speaking, there is no reason why you shouldn’t install .NET 3.5 SP1 on your servers and workstations since this is the current official version of the framework. The reason for this requirement is that we’ll start shipping official .NET 4.0 builds of RadControls for ASP.NET AJAX when VS 2010/.NET 4 RTM comes out. The service pack is a prerequisite for using the 4.0...
    February 12, 2010
  • Web ASP.NET AJAX

    Items Drag and Drop for RadListView for ASP.NET AJAX

    With the 2010.Q1 release, RadListView for ASP.NET AJAX is getting a fancy new client capability. You will be able to drag list view items around and drop them on other HTML elements, similar to RadGrid's row drag & drop functionality. Setting up RadListView to enable items drag & drop will be a piece of cake. Besides the usual AllowSomeFunctionality-type of property, all you will need to do will be: Use a CSS marker on an HTML element in the ItemTemplate / AlternatingItemTemplate to mark the bounds of a list view item. The content inside your HTML container marked by this CSS...
    February 10, 2010
  • Web ASP.NET AJAX

    New Filtering Menu for RadGrid for ASP.NET AJAX

    Hi everyone, As of Q1 2010 RadGrid will be equipped with a new filtering menu – a powerful and flexible feature the interest in which was sparked by RadGrid’s MVC counterpart offered by Telerik. It will be a sub-part of RadGrid's header context menu and will allow for filtering the grid's data on two conditions related with a logical AND operator: Perhaps, many of you are already eager to know how the new feature should be switched on/off. For this purpose a new property has been introduced into the RadGrid control -RadGrid.EnableHeaderContextFilterMenu/GridTableView.EnableHeaderContextFilterMenu. In addition, it is important that RadGrid.EnableHeaderContextMenu/ GridTableView.EnableHeaderContextMenu and RadGrid.AllowFilteringByColumn/GridTableView.AllowFilteringByColumn properties be...
    February 08, 2010