Telerik blogs

Latest

  • Desktop WinForms

    Quickly Formatting Data with the RadGridView for WinForms

    Most developers have encountered a need at some point to modify how data is displayed to the user.  The RadGridView offers a very straightforward way to format data without having to modify the source data.  For example, you may not want the time displayed with a DateTime field, or you want to change the structure of the data to meet an internal standard.  The screenshot below shows three different fields which display the default DateTime format. This may be valid data, but it may not be useful to the user and we could potentially save screen real estate by eliminating...
    May 27, 2021 2 min read
  • Web

    Optimization Tips: RadInput vs. RadInputManager

    In the Q3 2008 release, Telerik introduced a new control to the RadControls for ASP.NET AJAX suite called RadInputManager. Like RadInput, it is designed to enable you to provided textboxes to your users that give real-time validation and feedback based on the entered text. The big difference with RadInputManager, though, is that you don't have to add lots of Telerik Input controls on your page to get this real-time feedback. Instead, you can quickly convert "standard" ASP.NET TextBoxes to RadInput textboxes via the RadInputManager configuration- similar to how you can use RadAjaxManager to quickly ajaxify your page without littering it with...
    May 27, 2021 6 min read
  • Web

    Optimization Tips: RadCompression Module

    Welcome back to the ongoing Optimization Tips series. It's been a while since the last installment, so it's high-time we took a look at more tips and tricks for optimizing your Telerik-powered web applications. In this the seventh article in this series, we'll take a look at Telerik's brand new RadCompression HttpModule and try to gain a deep understanding of how this tool can help improve application performance. Some of the concepts in this article build on things we've discussed in previous installments, so I encourage you to read the earlier articles before reading this if you have not already done so....
    May 27, 2021 6 min read
  • People

    Free Webinar on Telerik Reporting and Regular Thursday Webinar Sessions at 11

    We are happy to invite you to a free webinar, presented by one of our evangelists, Kevin Babcock. The webinar Telerik Reporting 101 will discuss what a Reporting solution is, why you should adopt a reporting solution for your organization, and how Telerik Reporting is the perfect fit for delivering the business critical reports you need. After this short introduction, Kevin will show you the basics of Telerik Reporting and take you for a tour of the unique report designer. Then he’ll show you how to create your first report, how to make more complex reports, and how to display your...
    May 27, 2021 1 min read
  • Productivity Document Processing

    Exporting data to Excel using the RadGridView for WinForms

         There usually comes a time for most developers when they need to use the data being displayed in an application, outside of that application.  There are obviously a number of ways you can present data, but it is common to leverage Microsoft Excel.  It provides a similar look and feel to the grid which means minimal reformatting, plus Excel is widely used and therefore most offices should have a version of the software available.       How to get your data into Excel?  The RadGridView offers a couple of options to accomplish this task.  First, you can use the Primary...
    May 27, 2021 3 min read
  • Web

    HTTP Compression for your Silverlight ADO.NET DataServices

    I’m happy to announce that with Q1 2009 release of RadControls for ASP.NET AJAX (Telerik.Web.UI) you will be able to compress the response from ADO.NET DataServices (formerly "Project Astoria") in Silverlight web applications with simple web.config registration: web.config … <httpModules>   <addname="RadCompression" type="Telerik.Web.UI.RadCompression" /> </httpModules> … Here is the result for Northwind Customers with ATOM and JSON response type: ATOM : Bytes Received: 11,623 (uncompressed 92,848) JSON  : Bytes Received:   9,237 (uncompressed 39,460) I’ve made small Silverlight application to illustrate the new...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Adding a RadToolTip to a Custom Toolbar Item in the RadEditor for ASP.NET AJAX

    Most of the time combining two RadControls together is wonderfully easy. We at Telerik know this; we work hard to have them work together in a way that is both simple and intuitive for developers. But every so often someone asks about hooking up two controls in such a manner that I have to sit back and scratch my head for a few minutes. Thankfully though, the RadControls are flexible enough that I usually can find an answer. Tonight that happened when a customer asked how to add a RadToolTip to a custom toolbar item in the RadEditor for ASP.NET AJAX....
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    Meet the RadRotator&rsquo;s Cousin, the RadTicker for ASP.NET AJAX

    I recently posted an in-depth look at the RadRotator for ASP.NET AJAX. I feel it appropriate to follow-up that post with a discussion about another oft-overlooked control in Telerik’s ASP.NET AJAX suite, the RadTicker. The RadTicker is closely related to the RadRotator for ASP.NET AJAX, but boasts its own unique functionality. Whereas the RadRotator is best suited for richer content, such as images and HTML markup, the RadTicker is designed specifically to display text. The RadTicker uses client script to display a single character of text in a given interval, simulating a “typewriter” effect. While it has many of the same...
    May 27, 2021 4 min read
  • Web

    Custom template columns with RadGridView for Silverlight

    Using GridViewCell template you can create your own template columns in less than a minute: <telerik:RadGridView Name="RadGridView1" IsFilteringAllowed="False" IsReadOnly="True" ShowGroupPanel="False" AutoGenerateColumns="False"> <telerik:RadGridView.Columns> <telerikGridView:GridViewDataColumn HeaderText="ID" UniqueName="ID" /> <telerikGridView:GridViewDataColumn Width="400" HeaderText="Name" UniqueName="Name"> <telerikGridView:GridViewDataColumn.CellStyle> <Style TargetType="telerikGridView:GridViewCell"> <Setter Property="Template"> ...
    May 27, 2021 1 min read
  • Productivity

    Saving a few lines of code. Part IV - Refactoring switch statements

    Before going into details about how you could refactor a switch statement first I should say that there's nothing wrong with this statement (as with any other C#, VB.NET or whatever statement). Most probably you would want to refactor a switch in one of these scenarios: It has reached a certain amount of lines of code so that you need to scroll in order to see all the cases. When you want to introduce some new functionality you inevitably end up adding new cases to the switch statement. When you implicitly check for a type in a switch statement. In most...
    May 27, 2021 4 min read