Telerik blogs

Latest

  • 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.
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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); ...
    May 27, 2021 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...
    May 27, 2021 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...
    May 27, 2021 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]...
    May 27, 2021 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 ...
    May 27, 2021 4 min read
  • Release

    Telerik Reporting Q2 2008 SP1 is now live

    Hello People,   My name is Rossen Hristov and I am a developer at the Telerik Reporting team. This is my first post and in it I would like to share some good news with you -- Telerik Reporting Q2 2008 SP1 is now officially live. We have spent the last month or so making sure that most of the issues that you have reported have been addressed carefully. This Service Pack is by far the largest we have delivered in terms of issues fixed and I would like to thank you for the great feedback that you have provided during the past...
    November 05, 2024 2 min read
  • Web ASP.NET AJAX

    RadGrid for ASP.NET AJAX Webinar on Tuesday Sept 2nd

    Don't miss the chance to hear Lino Tadros* himself talk about RadGrid for ASP.NET AJAX. You can sign up for FREE here.   The 2-hour training will cover the following advanced topics: Grid Calculations (Footer Aggregates, Calculated Columns, etc) Templates (Global Item Template, Nested View Template, Detail Template, etc) Client-Side Functionality (Binding to WebServices, APIs, Items Drag-n-Drop, etc) Boosting Performance with LINQ Tune in on Tuesday, September 2nd @ 9.30AM PDT!   *Lino is the President of Falafel Software and long-time Microsoft .NET MVP with great presentation skills and charisma. P.S. Don't forget that Todd will be ...
    May 27, 2021 1 min read