Telerik blogs
  • Web

    How To: RadGridView for WPF paging, sorting and filtering of 1mil. records with LINQ to SQL

    I've made small example how to perform paging, sorting and filtering directly on the data-base sever using LINQ to SQL and RadGridView for WPF. The data-base is not included however you can use the same code with any data-base with following modifications: - change the connection string in the app.config file - change the table name in BindGrid() method:     IQueryable queryable = new DataClasses1DataContext().[Your Table].AsQueryable(); - define desired total number of items per page and total page count - change the filter expression in the filter button click event handler to desired (currently Contains for Name...
    August 13, 2008
  • People

    Design Internship Program

    http://internship.dreamture.net is the new blog of this summer's design intern at the UX department here in telerik, where Dimitar Raykov will regularly upload his ongoing work on the weekly internship assignments. Following a successful attempt to accommodate an intern a couple of years ago, this summer we wanted to expand the effort with a program that gives not just a preview of an actual work environment, but also has a more academic side to it with a chance to experiment within the design practice. Before I laid out the program I did some research on existing programs elsewhere but failed to find...
    August 12, 2008
  • Productivity

    Visual Studio 2008 Service Pack 1 RTM is Live!

    That's right, SP1 for Visual Studio 2008 and .NET Framework 3.5 went live today. You can read about the highlights here, or just go download the service pack and check it out for yourself. WPF designer support in the IDE and WPF performance increases in the framework were big items delivered in this service pack. Also included is the ADO.NET Entity Framework, ADO.NET Data Services, and support for SQL Server 2008. This release comes on the heels of the release of SQL Server 2008 just a few days ago....
    August 11, 2008
  • Web

    How To: RadGrid hierarchy from objects hierarchy

    Every once in a while we receive support about how to create hierarchical grid directly from objects hierarchy and I decided to post small example how to achieve this easily:   protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)   {     RadGrid1.DataSource = MyList;   }   protected void RadGrid1_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)   {     e.DetailTableView.DataSource = MyList.Find(          delegate(Master master)          {            return master.ID == Convert.ToInt32(e.DetailTableView.ParentItem.GetDataKeyValue("ID"));         ...
    August 11, 2008
  • Web ASP.NET AJAX

    RadTreeView for ASP.NET Ajax Load On Demand Modes - why so many?

    In my previous blog post I told you how the Web Service load on demand mode of RadTreeView delivers the best performance. A logical question arises - why we have the other load on demand modes (server side postback and callback) if they do not perform on par with the Web Service mode. The answer is not that obvious. The truth is every load on demand mode has its pros and cons. The following table describes visually the load on demand modes according to three criterions - performance, templates support, ease of...
    August 08, 2008
  • Web

    How To: RadGridView for WPF paging, sorting and filtering of 1mil. records with LINQ to SQL

    I've made small example how to perform paging, sorting and filtering directly on the data-base sever using LINQ to SQL and RadGridView for WPF. The data-base is not included however you can use the same code with any data-base with following modifications: - change the connection string in the app.config file - change the table name in BindGrid() method:     IQueryable queryable = new DataClasses1DataContext().[Your Table].AsQueryable(); - define desired total number of items per page and total page count - change the filter expression in the filter button click event handler to desired (currently Contains for Name...
    August 13, 2008
  • People

    Design Internship Program

    http://internship.dreamture.net is the new blog of this summer's design intern at the UX department here in telerik, where Dimitar Raykov will regularly upload his ongoing work on the weekly internship assignments. Following a successful attempt to accommodate an intern a couple of years ago, this summer we wanted to expand the effort with a program that gives not just a preview of an actual work environment, but also has a more academic side to it with a chance to experiment within the design practice. Before I laid out the program I did some research on existing programs elsewhere but failed to find...
    August 12, 2008
  • Productivity

    Visual Studio 2008 Service Pack 1 RTM is Live!

    That's right, SP1 for Visual Studio 2008 and .NET Framework 3.5 went live today. You can read about the highlights here, or just go download the service pack and check it out for yourself. WPF designer support in the IDE and WPF performance increases in the framework were big items delivered in this service pack. Also included is the ADO.NET Entity Framework, ADO.NET Data Services, and support for SQL Server 2008. This release comes on the heels of the release of SQL Server 2008 just a few days ago....
    August 11, 2008
  • Web

    How To: RadGrid hierarchy from objects hierarchy

    Every once in a while we receive support about how to create hierarchical grid directly from objects hierarchy and I decided to post small example how to achieve this easily:   protected void RadGrid1_NeedDataSource(object source, GridNeedDataSourceEventArgs e)   {     RadGrid1.DataSource = MyList;   }   protected void RadGrid1_DetailTableDataBind(object source, GridDetailTableDataBindEventArgs e)   {     e.DetailTableView.DataSource = MyList.Find(          delegate(Master master)          {            return master.ID == Convert.ToInt32(e.DetailTableView.ParentItem.GetDataKeyValue("ID"));         ...
    August 11, 2008
  • Web ASP.NET AJAX

    RadTreeView for ASP.NET Ajax Load On Demand Modes - why so many?

    In my previous blog post I told you how the Web Service load on demand mode of RadTreeView delivers the best performance. A logical question arises - why we have the other load on demand modes (server side postback and callback) if they do not perform on par with the Web Service mode. The answer is not that obvious. The truth is every load on demand mode has its pros and cons. The following table describes visually the load on demand modes according to three criterions - performance, templates support, ease of...
    August 08, 2008