Telerik blogs

Latest

  • Web

    Opera 9.5 - Love at First Sight

    The new Opera 9.5, released about a week ago, quite easily established itself as my default "home" browser. It is sooooo much faster than Firefox and Internet Explorer, especially when it comes to heavy web applications such as Gmail and Facebook (and doesn't hang either). And what's more, the Opera guys finally made the Alt + D keyboard shortcut focus the address bar as is in the other two browsers (stretching out to reach F8 was rather inconvenient. Happiness is in the small things, you know... :-) ). Opera 9.5 also includes DragonFly, which is the more powerful successor of the browser's...
    May 27, 2021 1 min read
  • Release

    Service Pack 2 Released for the Latest ASP.NET AJAX RadControls

    The title is a mouthful, but it says it all. RadControls for ASP.NET AJAX Q1 2008 SP2 just went live this evening. This release packs quite a punch so be sure to check it out. Here's the quick-and-dirty about the big new items: Firefox 3.0 and Opera 9.5 compatibility across the board RadChart - A new property, GroupNameFormat, provides the ability to control the series names in grouped databound charts. There is also zooming and scrolling functionality for any set of series containing at least one line or area series. RadComboBox - A new FooterTemplate has been added so you can create your own...
    May 27, 2021 2 min read
  • Productivity

    Tip of the Day: Remove the most annoying Visual Studio shortcut - F1

    Have you pressed F1 in Visual Studio? Did you wait a couple of minutes cursing it? I did. And I found a cure, a very simple cure - remove the F1 shortcut. Here are the simple steps: in Visual Studio -> Tools -> Option -> Keyboard -> find Help.F1Help shortcut -> remove F1 key binding. You are cured!...
    May 27, 2021 1 min read
  • Web ASP.NET AJAX

    Uploading Multiple Files with RadUpload

    Hello Everyone, my name is Rosi and I am a developer on the ASP.NET navigation controls team. This is my first blog post and I will be talking about the RadUpload component.  Many customers have asked how to upload multiple files with it. Unfortunately RadUpload does not yet support this functionality out of the box, but I will show you how to work-around this limitation. The trick is uploading one  .zip file and extracting it on the server.  To achieve this we will need a little help from a third party library.  Such libraries are  DotNetZip and SharpZipLib which provide a convenient API to manipulate .zip files.  For the purposes of this blog post...
    May 27, 2021 1 min read
  • Desktop WPF

    WPF Data Binding: Unraveling data templates

    Data binding in WPF in general and particularly working with data templates tends to be quite tricky some times. Here I'll present you some more advanced tips for dealing with data templates. To start with, I want to refer to an article I read a while ago. It is about the basics of data templates and I want to use it as a starting point and a foundation to build on. If you are just starting to work with WPF or you have never met with data templates, please read it first to get acquainted with the idea. I'll use ItemsControl for...
    May 27, 2021 10 min read
  • Web

    Firefox 3

    Today is D-Day ("Download Day") for the much-anticipated version 3 of Mozilla's popular web browsing client, Firefox. In an effort to create more buzz around the launch, Mozilla has requested that users help them attempt a new Guinness World Record for most downloads in a 24-hour period by downloading the new Firefox release today. Over 1.7 million people from around the world pledged to download the new client today. As an aside, I think its pretty cool that they are trying to get in the Guinness record books, but is it really a record if it's never been done before? I...
    May 27, 2021 3 min read
  • Web ASP.NET AJAX

    How To Override Styles in a RadControl for ASP.NET AJAX' Embedded Skin

    In the era of the "classic" RadControls for ASP.NET modifying a skin required opening ~ / RadControls / [ControlName] / Skins / [SkinName] / styles.css and making the necessary changes. The new RadControls for ASP.NET AJAX (formerly known as "Prometheus") by default use skins, which are embedded in the assembly. This simplifies deployment but sacrifices customization. Or does it? Actually, making a change to an embedded skin of a RadControl for ASP.NET AJAX is quite easy, given that one keeps in mind a couple of notable things. Namely: (1) Since the embedded skin cannot be modified, the custom styles need to be placed elsewhere. For example ...
    May 27, 2021 4 min read
  • Productivity

    Saving a few lines of code. Part I - Infinite loops.

    Inspired by Scott Hanselman's quest to read source code to be a better developer I decided to start a series of blog posts and write about anything which comes to my mind in the everyday encountering with THE code here at Telerik. As Scott is doing a great job with his quest I would rather focus on topics in which the distinction between right and wrong is not clear enough. I'm not talking about starting flame wars but rather talking about all the aspects and the different pros and cons of each approach. Today's topic will be about infinite loops and mostly about infinite...
    May 27, 2021 3 min read
  • Desktop WPF

    WPF: Custom control style and theme resources

    Hi everyone. I'm Jordan Dimitrov from the WPF team. I'm planning to post about .Net, first with few post about WPF. My first post is about resources and themes. Recently I had a problem with resources from themes files. I tried to use DynamicResource markup extension in Style in generic.xaml (sample bellow). But it didn't work. I changed DynamicResource extension with StaticResource markup extension and now it works. But WHY DynamicResource doesn't work? Sample XAML In my generic.xaml there are two items - a style for my CustomControl1 and a resource SolidColorBrush with key brush1.     1 <ResourceDictionary     2    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"     3    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"     4    xmlns:local="clr-namespace:WpfApplication1">    ...
    May 27, 2021 3 min read
  • Desktop WPF

    WPF Line Drawing and the Device-Pixel-(In)dependence

    As you are probably aware resolution and device independence is one of the fundamental design goals of WPF. In order to achieve the desired effect the framework does not work directly with physical (device-dependent) pixels but abstracts this notion into device-independent measuring units like inches. There are two main benefits that you get from this: Automatic DPI-aware scaling Sub-pixel positioning -- WPF coordinates use floating point numbers that theoretically give you the ability to draw with higher precision than the one provided by the ordinary pixel grid. However, there is one nasty side-effect related to the fact that WPF graphics are anti-aliased by default...
    May 27, 2021 3 min read