Telerik blogs

Latest

  • Release

    New online resources for the past four weeks (08/04/2008 - 08/29/2008)

    Below is a summary of the new online resources available for our ASP.NET AJAX controls/WinForms controls: RADCONTROLS FOR ASP.NET AJAX RadMenu Code library entries Load-on-Demand Context Menu (with RadAjaxManager): http://www.telerik.com/community/code-library/submission/b311D-bkkthk.aspx RadTreeView Help topics Troubleshooting > Expanding nodes: http://www.telerik.com/help/aspnet-ajax/troubleshooting-expanding-nodes.html Code library entries Navigating through RadTreeView with ALT + the arrow keys while editing Nodes: http://www.telerik.com/community/code-library/submission/b311D-bkdgae.aspx Updating Drag&Drop operations to Data Base through LinqDataSource: http://www.telerik.com/community/code-library/submission/b311D-bkkmce.aspx
    September 03, 2008 2 min read
  • Web

    Google Chrome - The browser in a Pokémon ball

    Well, someone finally did it! They've put a web browser in a pokémon ball! The Internet is awash with blogs posts about Google chrome which just a few hours ago became available for download. I'm not going to just repeat whatever is in the Google chrome comic book. If you haven't seen it go do it now. I am, however, going to tell you just how happy this new browser makes me. And no, it is not the warm colors or the pokemon ball thing :) Google Chrome is just a great browser. It is very very fast, includes a slick minimalistic UI,...
    September 03, 2008 1 min read
  • Release

    New "Online Help" is now available for RadControls for Silverlight Beta2

    I am really excited to announce the newly updated Documentation page about RadControls for Silverlight. Currently, you can directly open and browse the newly added Online Help or download the latest CHM file containing the same topics. We will be surely enhancing the content of the help files so that the users could find there most of the answers they are looking for. Our goal is to provide a wide range of topics - from simple "how-to" articles to advanced and complicated topics about our controls for Silverlight.
    September 02, 2008 1 min read
  • Desktop WinForms

    Emulating Paging with RadGridView for WinForms and LINQ with 1 million records

    Our customers who use the Telerik ASP.NET line of controls are used to having paging in their grids. This approach, however, is seldom used for WinForms applications, although there are cases when paging in WinForms grids is needed as well, especially when there are million records in the database (literally). You may have seen the blog post by Vladimir Enchev about implementing paging with RadGridView for WPF (if you have not, this is the right time to do so :)). A couple of days ago Mr. Enchev came by and said "You know guys, you could do the same thing with your WinForms...
    September 02, 2008 2 min read
  • Desktop WPF

    Shaders in WPF? Do you find them useful?

    One of the most exciting things about the new .NET3.5 SP1 is definitely the ability to use Shaders (Pixel Shaders only). As a beginner in that area, I am actively searching for information in blog posts, DirectX documentation, etc. Interestingly enough, a lot of people are keen on the idea of using those, but demos and even hints on possible applications are hard to find. There are a couple of "default" examples, a ShaderPad I find pretty useful, but that's it, no advanced examples what-so-ever. Additionally, I found a couple of cool examples (like those posted on Addam Kinney's blog), but those...
    September 02, 2008 2 min read
  • Release

    Send Telerik Report as email attachment

    The Report Viewers (Win and Web) do not support sending of reports via e-mail out-of-the-box. To mail a report you have to first render the report programmatically into a convenient format and then attach it to a mail message. Here is a possible way of how to achieve this by using the SmtpClient object: void MailReport(Telerik.Reporting.Report report, string from, string to, string subject, string body){string mimeType; string extension; Encoding encoding; byte[] reportBytes = ReportProcessor.Render("PDF", report, null, out mimeType, out extension, out encoding); MemoryStream ms = new MemoryStream(reportBytes); ms.Position = 0; Attachment attachment = new Attachment(ms, report.Name + "." + extension); MailMessage msg = new MailMessage(from, to, subject, body); msg.Attachments.Add(attachment); SmtpClient client = new SmtpClient(smptHost); ...
    September 02, 2008 1 min read
  • Productivity

    Show me your IsNumeric() and I'll show you mine

    I was innocently writing a piece of code today and the need arose to check if an input type is a number. Naturally I started looking for such a method inside the .NET classes. After all for a framework which has more than 380,000 methods it will only be logical to have at least one which will do something as basic as this. Guess what? .NET does not ship with such a public method. Whaaaa? But do stay with me, please! It gets better. Armed with Reflector I decided that even if there is no such public method there must be a private one at...
    September 01, 2008 1 min read
  • Productivity

    Visual Studio 2008 Intellisense and Telerik.Charting

    By default the RadControls installer adds the Telerik.Charting assembly to the GAC on the machine where the package is installed, as the Telerik.Charting assembly is used by more than one package - RadControls for ASP.NET AJAX and RadControls for Winforms. So, let's consider an example -- create a new web site and use at least one control from the suite. When you drag a control from the toolbox Visual Studio will automatically copy Telerik.Web.UI.dll to site's Bin folder. Telerik.Web.UI assembly refers to Telerik.Charting assembly. But as long as Telerik.Charting is in the GAC it will not be copied to the...
    August 29, 2008 2 min read
  • Desktop WPF

    RadGridView for WPF performance compared to Microsoft DataGrid

    Today I saw this blog post and I couldn't resist to test RadGridView for WPF using the same data :) Looks like by default our grid will sort approximately 10 times faster - no need to build your own custom comparers. Enjoy! [Download]...
    August 29, 2008 1 min read
  • Web ASP.NET AJAX

    RadCalendar for ASP.NET (AJAX) localization and all the necessary to have culture independent automated tests

    First some background: Recently I’ve been working on an interesting task, which required digging into some details in RadCalendar control localization implementation. Due to a customer bug report, I tested the RadCalendar control in a non-English culture for a specific scenario. I also ran the automated tests we had built for the Calendar control and was shocked at the fact that so many tests simply failed. The reason is that these tests expected some certain Calendar element values, which generally depend on the culture you run the control on. I took the challenge to investigate, implement the necessary methods and ...
    August 29, 2008 4 min read