• .NET Mobile

    RadTips Episode 3: Client-Side Sorting in the RadGrid

    August 16, 2008 Share
    In celebration of the fact that the weekend is upon us, I'd like to leave you all with another exciting RadTips episode. This episode covers yet another client-side databinding technique: sorting. Client-side databinding is an advanced feature of the RadGrid, and something only found in the latest and greatest bits from the RadControls for ASP.NET AJAX suite. This episode walks you through how to implement sorting when using this new feature. The demo users other cool ASP.NET features like LINQ to XML and Page Methods, so be sure to check it out. As always, the video is available in WMV...
  • .NET Mobile

    Internet Explorer JavaScript Performance Tip - use the "children" property

    August 14, 2008 Share
    Today I was profiling the initialization time of RadTreeView for ASP.NET Ajax and found out that the biggest bottleneck was traversing the DOM tree. The code looks something like this: //get_childListElement() returns an HTML element  var childNodes = parent.get_childListElement().childNodes;  for (var i = 0, length = childNodes.length; i < length; i++)  {       var childNode = childNodes[i];         //Perform additional initialization  }  I tested with 10000 elements and in IE7 I got about 25000ms whilst in FireFox the total time was around 33ms (Core 2 Duo @ 2.33GHz). Quite a difference if you ask me. I thought that there may be some IE specific method/property which could perform better and I dug into MSDN. And a few minutes later I found the children property!!! Apparently the children collection contains only HTML elements (whilst childNodes is full of...
  • .NET Mobile

    Yet another update of RadControls for ASP.NET Ajax DynamicData support

    August 13, 2008 Share
    ASP.NET Dynamic Data has just gone official with the SP1 release of Visual Studio 2008 and .NET 3.5. We have just released updated version of our Dynamic Data bits which is tested against the official release and has few minor improvements (such as implementation of the DataControl property). Get it from here....
  • .NET Mobile

    Design Internship Program

    August 12, 2008 Share
    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...
  • .NET Mobile

    Best Practices: Client-Side DataBinding with the RadGrid for ASP.NET AJAX

    August 08, 2008 Share
    I recently released the first two episodes of my new screencast series, RadTips. In these episodes I show users how to take advantage of the new client-side databinding feature of the RadGrid (only available in the Q2 2008 release of RadControls for ASP.NET). I wanted to highlight what we consider to be a best practice when using the RadGrid's client-side API to do your databinding, something I didn't do in either of the episodes. While client-side databinding can save some bandwidth and improve round-trip speeds on subsequent requests, it is actually faster to to bind data to the RadGrid on the...