Telerik blogs

Latest

  • Desktop WPF

    Transpose or just rows as columns

    A common scenario when displaying tabular data is to flip the axis so your rows becomes columns and vice versa. This can be easily achieved when you know the shape of your data. For example imagine we have a Customer class with 3 properties:  Name, Age and JobCode. Let’s say that we have 5 customers in our data repository. If we want to select just the names we can do something like this: IList<Customer> customers = Customer.GetAll(); var names =     new         {             Customer1 = customers[0].Name,             Customer2 = customers[1].Name,             Customer3 = customers[2].Name,             Customer4 = customers[3].Name,             Customer5 = customers[4].Name         }; Imagine that another Customer is added and suddenly...
    May 27, 2021 2 min read
  • Productivity Reporting

    Reporting 101 Webinar

    I recently hosted a Reporting 101 webinar where I gave an hour-long overview of Telerik’s Reporting tool. For those of you who missed it, and for those who would like to see it again, it is now available on Telerik TV for your viewing pleasure. Click here to view the Reporting 101 webinar on Telerik TV If you are interested in more advanced Telerik Reporting topics, stay tuned as I will be bringing you another Reporting webinar on Thursday, February 26th. The topic will be announced this week, so keep an eye on my blog or Telerik.com for more details. For those of...
    May 27, 2021 1 min read
  • Productivity

    Forward Mapping with OpenAccess and MySQL

    Those of us who develop with the .NET Framework have probably connected to a Microsoft SQL Server database at one time or another. If you’re using v3.5 of the Framework, you’ve probably even used the new LINQ to SQL object relational mapper to hook your web forms up to your database for easy data display and manipulation. But what happens if you aren’t using SQL Server? What if you want the same functionality – and ease of use – that LINQ to SQL provides, but need to use a different database technology? Enter OpenAccess. Telerik’s OpenAccess ORM supports many of the most popular...
    May 27, 2021 5 min read
  • Web ASP.NET AJAX

    RadTips, Episode 16: Manual Ajax Requests Using the RadAjax Client-Side API

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX Using Declarative Client-Side DataBinding in the RadGrid for ASP.NET AJAX, Part 1 Using Declarative Client-Side DataBinding in the RadGrid for ASP.NET AJAX, Part 2 Introducing the RadInputManager for ASP.NET AJAX If you’re interested in...
    May 27, 2021 1 min read
  • Productivity

    OpenAccess, WCF, and a RadGrid (Oh My!)

    I’ve been working on a project that uses OpenAccess ORM as the persistence layer between my app and the database. Since the app is going to be used on both web and client platforms I wanted to add a services layer to serve up the data. Turns out it’s pretty easy to do. So I’ll walk you through a quick demo of how to hook OpenAccess up to WCF services and then consume the data with a RadGrid. Set up the project structure First, create a class library project called Data to hold the data access code. This is where you’ll use OpenAccess to...
    May 27, 2021 14 min read
  • Web

    Hiding JavaScript code from old browsers

    Sometimes we need to hide the JavaScript code from the old browsers that do not support it. To prevent old browsers from displaying your JS code, do the following:   Immediately after the opening <script> tag, put a one-line HTML-style comment without the closing characters, so that the first two lines of your script would look like this: <script language="JavaScript"><!-- At the end of your script, put the following two lines: //--></script> Thus, your HTML file will contain the following fragment: <script language="JavaScript"> <!--     ...
    May 27, 2021 1 min read
  • Release

    Telerik announces the RadToolBar for Silverlight.

    With the upcoming Q1 release Telerik will include an official version of the RadToolBar control in the RadControls for Silverlight bundle. RadToolBar will mimic the functionalities and behavior of the VS toolbar with its Strip and Overflow areas.  All the items in the toolbar will jump between the strip and the overflow depending on the toolbar’s size. In addition, the developer will be able to stick items into one of these areas using a single property  - OverflowMode. RadToolBar will also support Style Selector for item containers. We pre-defined styles for many of the regular controls – button, textbox , combobox and expander. Along with...
    May 27, 2021 1 min read
  • Desktop WPF

    Working with a simple RadGauge for WPF

    Presenting data to users can be done in a variety of ways, but gauges offer a unique way to present data with elegance.  Gauges are easily recognized by most users since they see them on a daily basis.  Think about when you drove to work this morning, you probably looked at your car dashboard which may have looked similar to the picture below.  You knew your speed, fuel status and a number of other important metrics at a glance.  Well, the RadGauge for WPF gives you the ability to implement this same powerful concept in your applications In this post, I...
    May 27, 2021 2 min read
  • Web ASP.NET AJAX

    RadTips, Episode 15: Introducing the RadInputManager for ASP.NET AJAX

    I’m happy to announce another episode of RadTips, a series of screencasts offering tips and tricks for using Telerik's RadControls. If you've missed previous episodes, be sure to check them out. Each is only a few minutes long and covers a specific feature of the RadControls. Here is a list of the last few episodes... Add an 'Export to PDF' Button to the RadEditor for ASP.NET AJAX Customizing the Look of the RadAjaxLoadingPanel for ASP.NET AJAX Sharing Toolbars with the RadEditor for ASP.NET AJAX Using Declarative Client-Side DataBinding in the RadGrid for ASP.NET AJAX, Part 1 Using Declarative Client-Side DataBinding in the RadGrid for ASP.NET...
    May 27, 2021 1 min read
  • Productivity

    New version of Telerik Trainer

    I am very excited to share with you a preview of the new version of Telerik Trainer! Download it here For those of you unfamiliar with Telerik Trainer, this is a tool that leverages the latest technologies to combine video training with hands on coding and self-paced tutorials. It's beyond a video player - the application binds video with synchronized highlights, topical table of contents navigation, and a code launching feature that opens code files in Visual Studio and automatically navigates to the relevant file and line number. Check here for more info on Telerik Trainer. Together with our ...
    May 27, 2021 2 min read