Telerik blogs

Latest

  • 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,...
    July 16, 2008
  • 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...
  • People Accessibility

    Telerik RadGrid Section 508 Compliance

    Ever wonder how to make a pageable & sortable grid Section 508 compliant? Well with RadGrid this is trivial task! The tricky part is to tell the grid to not render or require any JavaScript on the page: 1. Inherit from RadGrid and override three methods:     public class MyGrid : RadGrid     {         public MyGrid()         {             //         }         protected override void RegisterScriptControl()         {             // do not register as ScriptControl         }        ...
  • Web

    Top 5 Firefox Add-Ons for Developers

    I'm a Firefox user, have been for years. I love Microsoft products and most of their software is fantastic, but I have never been much fond of Internet Explorer. Maybe its IE's UI, or maybe its the fact that it doesn't have many great plug-ins. Either way, I much prefer to use Firefox as my browser of choice when developing web applications. There are tons of great add-ons available to Firefox users to make their web developing lives easier. Here are my favorite 5: Firebug - This one's got it all: JavaScript debugger, DOM inspector, traffic analyzer, CSS inspector, and  much more....
    July 14, 2008
  • Web

    Un-Breaking the Back Button

    I often see developers (myself included) get frustrated when Ajax and the browser back button don't play nice together. The fact is, they have never really worked together and having the ability to use one means you have to sacrifice the other. But what if you want both? Let's take a look at why in the past we have not been able to have these features together and what we can do now to get them. Back in the "olden days" of the Internet each web page was a stateless, static entity. With the advent of new web frameworks like ASP.NET...
    July 11, 2008
  • Web ASP.NET AJAX

    Change Skins dynamically for all Telerik RadControls

    I've spent few minutes to create small control called RadPageStylist which will style all Telerik RadControls on desired page with desired Skin. The control is fairly simple - you have Skin property where you can set your skin and ApplySkin() method which can be executed for particular ASP.NET Control. The method is recursive and will locate all child ISkinableControls to set selected Skin. Other possible approach is "Global skin setting for the entire web site/web application project" however in this case the skin registration is static. Live Demo | ...
  • Web ASP.NET AJAX

    Some RadToolTip tips & tricks

    I wrote this blog post together with our support officer Svetlina, who is in charge of answering tickets submitted for RadToolTip, RadSplitter and RadWindow. She has prepared a short list of tips and tricks based on some recurring questions that we have noticed over time. The original tips&tricks list had 12 entries, but some of the solutions were eventually built into the RadToolTip code, so it was reduced to 7 :) We hope this post will be useful to all who try to combine the tooltip with other RadControls and use it in more advanced scenarios that are not always covered in...
    July 11, 2008
  • Web ASP.NET MVC

    RadChart in ASP.NET MVC

    I just came upon this awesome blog post by Andreas who has managed to create an action for rendering an image. I'm blogging here to give more of you guys a heads up on his post. If you are into the whole MVC thing and want to use RadChart you should definitely check this out....
  • Web

    Maximum performance with minimum output using Telerik RadDatePicker client-side API

    Very often you need to use RadDatePicker inside a grid or list component and if you have lots of records the standard approach is not the best choice. Example: <telerik:RadGrid ID="RadGrid1" runat="server" AutoGenerateColumns="False" DataSourceID="SqlDataSource1">   <MasterTableView>     <Columns>       <telerik:GridTemplateColumn HeaderText="OrderDate" SortExpression="OrderDate">         <ItemTemplate>           <telerik:RadDatePicker ID="RadDatePicker1" DbSelectedDate='<%# Eval("OrderDate") %>' runat="server" />         </ItemTemplate>       </telerik:GridTemplateColumn>     </Columns>   </MasterTableView> </telerik:RadGrid> In this case you will get new date picker component for...
  • Productivity

    Visual Studio Tips &amp; Tricks

    Being a professional developer requires that you invest some time in learning your tools. Working with .NET my tool of choice (not that there is a whole lot of choice) is Visual Studio.  It’s an excellent IDE that’s very customizable and can be extremely productive if you learn how to use it well. The best way to increase your productivity is to learn some keyboard shortcuts. Yes, the toolbars are all nice and pretty, but you can do pretty much absolutely everything with the keyboard. I even know some people who don't use any toolbars at all! In my opinion that's...