O'Reilly logo

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Telerik WPF Controls Tutorial

Book Description

Telerik controls and Windows Presentation Foundation (WPF) are a winning combination, and this tutorial will give you the skills you need to create powerful applications. You'll need to know C#, SQL, and object-oriented design.

In Detail

Telerik Reporting is a lightweight reporting solution for all .NET cloud, web, and desktop platforms (Azure, Silverlight, WPF, ASP.NET, and Windows Forms) which targets developers and end users alike. Rich interactive and reusable reports can be created by developers in Visual Studio and by end users in the desktop-based Report Designer.

This book will guide you through working with specific Telerik WPF controls as well as working with the database and other methods to load the controls. It will focus on four key technologies: the DataContext property of WPF, Telerik RadControls for WPF, XML serialization, and application security.

Starting with the basics, Telerik WPF Controls Tutorial will take you from the simple usage of a DataTable to serializing XML files into objects, covering a discussion of different types of security and validation for WPF windows along the way.

This book will start out by showing you the simple methods of populating Telerik RadControls using a DataTable. You will then move on to look at populating a generic list of objects from a database as well as serializing XML files into class objects. You will cover how to secure a WPF application using a simple database example as well as Active Directory to determine navigation control loading. You will then review using the Telerik API interface classes to load Gantt information. With this book, you will be guided through building an application with the addition of all the important controls along with provisions for data entry, layouts, editors, navigation, and scheduling.

This book will teach you the different aspects of the Telerik controls, from using the DataContext property to loading the controls using the Telerik API references. The book will also cover other WPF subjects such as security and WPF validation of the DataContext property.

What You Will Learn

  • Load Telerik controls using a DataTable object and generic object lists
  • Work with SQL Server and XML serialization to read and manipulate data
  • Discuss and review different modes of securing an application
  • Use the new model for using DataContext to validate a WPF window
  • Employ the Telerik interface classes to load controls
  • Understand object-oriented concepts such as inheritance and interfaces
  • Secure an application with Active Directory
  • Set up a WPF application to verify and deploy information

Table of Contents

  1. Telerik WPF Controls Tutorial
    1. Table of Contents
    2. Telerik WPF Controls Tutorial
    3. Credits
    4. About the Author
    5. About the Reviewers
    6. www.PacktPub.com
      1. Support files, eBooks, discount offers, and more
        1. Why subscribe?
        2. Free access for Packt account holders
        3. Instant Updates on New Packt Books
    7. Preface
      1. What this book covers
      2. What you will need for this book
      3. Who this book is for
      4. Conventions
      5. Reader feedback
      6. Customer support
        1. Downloading the example code
        2. Errata
        3. Piracy
        4. Questions
    8. 1. Getting Started with Telerik RadControls
      1. Prerequisites
      2. Downloading the Telerik trial software
      3. Creating the first Telerik project
      4. Telerik demo project
      5. Summary
    9. 2. Telerik Editors and How They Work
      1. Database setup
      2. RadAutoCompleteBox with data binding
      3. Binding to a System.Data.DataTable
      4. Binding to the CustomerEntity object
      5. RadMaskedInput – currency, phone, and zip
        1. RadMaskedInputCurrency
        2. RadMaskedInputText – phone and zip
        3. RadMaskedInput – e-mail and validations
        4. SpellChecker – TextBox
        5. RadSpellChecker with VS TextBox
        6. RadSpellChecker with RadRichTextBox
        7. RadSpellChecker with RadDataGrid
      6. Summary
    10. 3. Data Entry and Validation of Telerik Controls
      1. Database setup
      2. RadComboBox
        1. RadComboBox with DataTable
        2. RadComboBox with a generic list
      3. RadSpreadsheet
      4. Dynamic validation
      5. Summary
    11. 4. Layout Organization and Display Functionality
      1. Database setup
        1. RadTabControl
          1. RadTabControl with DataTable
          2. RadTabControl with a generic list
          3. RadTabControl with an XML file
      2. RadBook
      3. Summary
    12. 5. Navigation and Dynamic Event Handling
      1. Database setup
      2. Additional prerequisites
      3. New WPF concepts
        1. BaseWindow
        2. The AppRequest persistence class
        3. The UserEntity class
        4. The BarItem class
      4. RadOutlookBar
        1. RadOutlook with GenericList, DataBinding, and database security
        2. RadOutlookBar using generic list binding with XML security
      5. RadMenu
      6. Summary
    13. 6. Telerik Scheduling and Object Bound Loading
      1. New object-oriented concepts
        1. The IGanttTask interface class
        2. The CommonTask class
      2. RadGanttBar
        1. RadGanttView with user task filtering
        2. RadGanttView displaying the tasks with a summary task
      3. Summary
    14. Index