Telerik blogs

Latest

  • Web ASP.NET AJAX

    Browser Inconsistencies with Scrolling and Padding

    The other day I was researching a slight RadGrid header and data cell misalignment when using scrolling with static headers. Finally, it turned out that there is a breaking change in the way Firefox 3 treat scrollable elements with an applied padding style. To be more specific, this browser version does not include the padding zone into the scrollable area, and as a result, the inner area of the element becomes smaller. Safari 2 and 3 behave the same way. Here is a very simple testing scenario:   <div style="width:400px">      <div style="width:100px;padding-right:300px;background:orange;overflow:auto">          <div style="width:500px;height:100px;background:yellow">&nbsp;</div>      </div>  </div>      The above HTML code will be displayed by Firefox 3, Firefox 2, IE7, Opera 9 and Safari...
    May 27, 2021 1 min read
  • Desktop

    Disabling Full Row Selection in Vista Explorer

    One of the things that irritates me the most in Vista is the enabled by default Full Row Selection in Explorer. To see what I'm talking about open an Explorer window in Details View and try to select files with dragging a rectangle. I googled a bit and found that there is a solution for the problem: Under the key:  [HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Advanced]   Create a new REG_DWORD value named FullRowSelect. Leave it's data as 0x0 and you are set.   After some more digging, I found several scripts which will automatically set and unset this key for you: Keith Miller' Windows Stuff   I hope this helps....
    May 27, 2021 1 min read
  • Productivity

    Visual Studio Tip: Creating and Consuming an Item Template

    These days there are a lot of cool ways for .NET developers to be more productive. From code generation to refactoring, there is never a shortage of plug-ins out there to help us in this goal. But let's not forget about the great tools and features already built into Visual Studio that we can use. One feature I have started using recently is the item template. Whether you know what an item template is or not, you use them in your every day development. Item templates are those pre-written files you add to your project whenever you need a new ASP.NET...
    May 27, 2021 4 min read
  • Web ASP.NET AJAX

    Web Resources demystified: Part 3 (Troubleshooting)

    In this post I will show you how to troubleshoot Web Resource related problems and how to deal with them. If you are using an ASP.NET server control with rich client-side behavior it is likely built to utilize web resources. Sometimes your page loads and that rich server side control does not work at all - the tree view does not expand, the grid cannot sort etc. Most of the times this is because the JavaScript files of those controls have failed to load. If your browser is configured to prompt on JavaScript errors you may see the following error messages: "RadTreeView...
    May 27, 2021 3 min read
  • Web ASP.NET AJAX

    RadRotator binding to XML data

    As you already know, the upcoming RadControls for ASP.NET AJAX Q2 2008 release will add a new control to the suite - the RadRotator. If you are familiar with the RadRotator control from the classic ASP.NET controls suite, you will be glad to know that it is now included in the new Ajax suite as well.   One important change I would like to talk about is how the new rotator works with XML data. The classic rotator control had a property called ContentFile, which allowed the developer to specify a XML file to use as a datasource for the rotator frames....
    May 27, 2021 1 min read
  • Web

    Maximum performance using Telerik RadGrid client-side data-binding with LINQ to SQL

    As I mentioned in one of my previous posts with RadGrid for ASP.NET AJAX Q2 2008 you can access the grid sort and filter expressions on the client. While filter expressions toString() method will create SQL syntax representing current grid filtering now you have toDynamicLinq() method which will create LINQ expression that can be used directly with Dynamic LINQ library. With few lines of code you will get minimum transfer between server and client (pure JSON): and on the server side LINQ to SQL will apply all requested operations directly on the data-base server: Live Demo |...
    May 27, 2021 1 min read
  • Release

    Telerik TV Launches Episode 3 - SimNet

    Episode 3 - SimNet with Torger J. Wuellner Join Carl Franklin in the latest episode of Telerik TV as he hosts Torger J. Wuellner of Triad Interactive. In this episode Torger shows off SimNet, an e-learning platform which offers students the opportunity to learn Microsoft tools in a simulated Microsoft Office and Windows Vista environment. SimNet's portal site is built with the RadControls for ASP.NET AJAX and is packed full of cool features. Watch as Torger demonstrates how he was able to use the built-in functionality of a RadWindow control to pass data to its parent page, or how he was...
    May 27, 2021 1 min read
  • People Accessibility

    Accessibility and RadEditor

    The following blog post was written together with Rumen Jekov, who is the most experienced support officer at Telerik and has been supporting RadEditor for a number of years now. If you are a RadEditor user, and you contact us, chances are you will be receiving an answer from him. The blog post discusses the accessibility features of RadEditor. While accessibility options were not considered important couple of years ago, things have changed - and will be changing even more in the future. For enterprize customers and governmental institutions accessibility is becoming a top priority, and we have gone at great lengths...
    May 27, 2021 5 min read
  • Desktop

    Saving a few lines of code. Part II - Doing reflection

    I was just about to write the second blog post of the series, this time involving currying, the forward pipe operator and other functional programming beauties when two people discouraged me from doing it. First Mike from the WinForms team kindly implied that with functional C# programming I can get some permanent brain damages and I definitely won't keep my audience concentrated. Then came Joe Zydeco's comment to my previous blog post and I gave up. I don't know why people don't like functional C# programming but point taken, no more functional C# in my blog posts (for those of you who like it,...
    May 27, 2021 3 min read
  • Release

    RadControls for Silverlight 2 CTP2 release

    RadControls for Silverlight 2 CTP2 is fact. This is another public preview that gets us closer to the official release of our RadControls for Silverlight 2. However, there will be another Beta releases before the official launch of the controls. The next update will be available with the forthcoming Q2 release due end of July.   With this CTP edition the RadControls for Silverlight 2 bundle has been enhanced with several brand new controls : Window for Silverlight  - RadWindow exposes most of the best-known methods and properties of a WPF window, which have already become natural to manage and use.  You have the...
    May 05, 2025 4 min read