Tải bản đầy đủ (.pdf) (697 trang)

Pro Telerik ASP.NET and Silverlight Controls ppt

Bạn đang xem bản rút gọn của tài liệu. Xem và tải ngay bản đầy đủ của tài liệu tại đây (11.49 MB, 697 trang )

Guay Paz
Telerik ASP.NET and Silverlight Controls
THE EXPERT’S VOICE
®
IN .NET
Pro
Telerik ASP.NET and
Silverlight Controls
Master Telerik Controls for Advanced
ASP.NET and Silverlight Projects
José Rolando Guay Paz
Foreword by Joe Stagner
Microsoft
Companion eBook
Available
Go beyond traditional ASP.NET and Silverlight controls
BOOKS FOR PROFESSIONALS BY PROFESSIONALS
®
Pro Telerik ASP.NET and Silverlight
Controls
Dear Reader,
Telerik has developed an extensive suite of components that substantially
increase the power and flexibility of ASP.NET and Silverlight solutions. These
components include reports, grids, charts, and text editing controls. With the
vast number of configuration options and controls to choose from, under-
standing how to apply these components within applications can be chal-
lenging. I wanted to eliminate this challenge by presenting clear and detailed
instructions on how to properly work with this toolset.
All of the discussions and instructions in this book come from my own expe-
rience working with Telerik controls in various solutions over the years. I dem-
onstrate how to use features such as the RadEditor – a word processing control


that allows for advanced interaction with text; the RadChart – a chart control
that enables visually appealing rendering of data from a variety of data sources;
and the RadAjaxManager – capable of translating PostBacks into AJAX calls. I
also discuss recommended patterns and practices and focus attention on inter-
control communication – a key part of any complex application. My goal is to
provide you with as much information as I can in order to allow you to develop
more effective and interesting Silverlight and ASP.NET applications.
When I began writing this book, I was fortunate to have the opportunity to
work closely with Telerik on the content and approach. They have endorsed
this book, and see it as a valuable resource for the development community.
I’ve put a lot of effort into the writing of this material, and I hope that you will
enjoy reading it and will find it a useful guide to development with Telerik
RadControls.
José Rolando Guay Paz
José Rolando Guay Paz
US $59.99
Shelve in:
Programming Languages / C#
User level:
Intermediate–Advanced
THE APRESS ROADMAP
Silverlight
Recipes
Pro Telerik ASP.NET
and Silverlight Controls
Pro
ASP.NET 4 in
C# 2010
Pro
ASP.NET Server

Controls in C#
Pro
Silverlight 3 in C#
Beginning
ASP.NET 4 in C# 2010
Beginning
Silverlight 3 in C#
www.apress.com
SOURCE CODE ONLINE
Companion eBook

See last page for details
on $10 eBook version
Pro
www.it-ebooks.info
www.it-ebooks.info

Pro Telerik ASP.NET
and Silverlight
Controls
Master Telerik Controls for Advanced
ASP.NET and Silverlight Projects












■ ■ ■
José Rolando Guay Paz

www.it-ebooks.info
Pro Telerik ASP.NET and Silverlight Controls: Master Telerik Controls for Advanced ASP.NET and
Silverlight Projects
Copyright © 2010 by José Rolando Guay Paz
All rights reserved. No part of this work may be reproduced or transmitted in any form or by any means,
electronic or mechanical, including photocopying, recording, or by any information storage or retrieval
system, without the prior written permission of the copyright owner and the publisher.
ISBN-13 (pbk): 978-1-4302-2940-7
ISBN-13 (electronic): 978-1-4302-2941-4
Printed and bound in the United States of America 9 8 7 6 5 4 3 2 1
Trademarked names, logos, and images may appear in this book. Rather than use a trademark symbol
with every occurrence of a trademarked name, logo, or image we use the names, logos, and images only
in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of
the trademark.
The use in this publication of trade names, trademarks, service marks, and similar terms, even if they are
not identified as such, is not to be taken as an expression of opinion as to whether or not they are subject
to proprietary rights.
President and Publisher: Paul Manning
Lead Editor: Mark Beckner
Developmental Editor: Ewan Buckingham
Technical Reviewer: Kevin Babcock
Editorial Board: Clay Andres, Steve Anglin, Mark Beckner, Ewan Buckingham, Gary Cornell,
Jonathan Gennick, Jonathan Hassell, Michelle Lowman, Matthew Moodie, Duncan Parkes,
Jeffrey Pepper, Frank Pohlmann, Douglas Pundick, Ben Renow-Clarke, Dominic Shakeshaft,

Matt Wade, Tom Welsh
Coordinating Editor: Kelly Moritz
Copy Editor: Heather Lang
Compositor: Lynn L’Heureux
Indexer: Brenda Miller
Artist: April Milne
Cover Designer: Anna Ishchenko
Distributed to the book trade worldwide by Springer Science+Business Media, LLC.,
233 Spring Street, 6th Floor, New York, NY 10013. Phone 1-800-SPRINGER, fax (201) 348-4505,
e-mail
, or visit www.springeronline.com.
For information on translations, please e-mail
, or visit www.apress.com.
Apress and friends of ED books may be purchased in bulk for academic, corporate, or promotional use.
eBook versions and licenses are also available for most titles. For more information, reference our
Special Bulk Sales–eBook Licensing web page at
www.apress.com/info/bulksales.
The information in this book is distributed on an “as is” basis, without warranty. Although every
precaution has been taken in the preparation of this work, neither the author(s) nor Apress shall have
any liability to any person or entity with respect to any loss or damage caused or alleged to be caused
directly or indirectly by the information contained in this work.
The source code for this book is available to readers at
www.apress.com. You will need to answer
questions pertaining to this book in order to successfully download the code.
www.it-ebooks.info

To God for all the blessings I’ve received. Thank you Lord.
To my beautiful wife Karina, my wonderful daughter Sara Nicole and our new baby
coming soon. Thank you for being with me all the way with this project. I can’t thank
you enough. I love you. I promise I’ll make up the time I stole from you.

To my mother, Nelly, and father, Rolando, for teaching me all I needed. Dad, I know you
are not with us anymore but this book is especially for you. I know you would’ve loved
to see it. Thank you both for everything. I love you and miss you.
To my sister Loly, my brothers Juan and Ramon, my nephews and nieces.
I love you and miss you all.
Thank you to my family in law for all your support and encouragement
through all these years. Thank you.
Special thanks to Aunt Maritza and to Uncle Marco. This never would have
happened without them.
www.it-ebooks.info
www.it-ebooks.info
■CONTENTS
v
Contents at a Glance
■Foreword xviii
■About the Author xix
■About the Technical Reviewer xx
■Acknowledgements xxi
■Introduction xxii
■Chapter 1: Introducing ASP.NET and Telerik 1
■Chapter 2: Getting Started With Telerik RadControls 15
■Chapter 3: Input RadControls 33
■Chapter 4: Navigation RadControls 61
■Chapter 5: Date, T
Time
, and Scheduling RadControls 97
■Chapter 6: Data RadControls, Part 1 131
■Chapter 7: Data RadControls, Part 2 229
■Chapter 8: Layout RadControls 281
■Chapter 9: Chart and Image RadControls 329

■Chapter 10: Additional RadControls 381
■Chapter 11: RadAjax 421
■Chapter 12: Telerik Extensions for ASP.NET MVC 499
■Chapter 13: RadControls for Silverlight 531
■Chapter 14: Introducing Telerik Reporting 585
■Chapter 15: Telerik OpenAccess ORM 621
■Index 661
www.it-ebooks.info
www.it-ebooks.info
■CONTENTS
vii
Contents
■Foreword xviii
■About the Author xix
■About the Technical Reviewer xx
■Acknowledgements xxi
■Introduction xxii
■Chapter 1: Introducing ASP.NET and Telerik 1
ASP.NET 1
ASP.NET Web Forms 2
ASP.NET MVC 8
Telerik’s RadControls Suite of Components 13
Summary 14
■Chapter 2: Getting Started With Telerik RadControls 15
Installing the Controls and Tools 15
Downloading the Installers 16
Installing the Suites 18
Installing Telerik Extensions for ASP.NET MVC 20
Installing and Updating Controls Manually 21
Setting Up Your Application to Use Telerik RadControls 22

Configuring Telerik RadCompression 27
Configuring Telerik RadUpload 28
Enabling RadScriptManager and RadStyleSheetManager 30
Summary 31
■Chapter 3: Input RadControls 33
Introducing RadInput 33
Understanding Common Properties and Events 33
Using RadTextBox 36
www.it-ebooks.info
■CONTENTS
viii
Getting and Setting RadTextBox Values 37
Working with Buttons 38
Using RadNumericTextBox 39
Setting Minimum and Maximum Values 39
Setting the Type of Numeric Values 40
Using RadDateInput 40
Formatting Dates 41
Validating Dates 43
Parsing Dates 44
Using RadMaskedTextBox 45
Setting the RadMaskedTextBox Mask 45
Using RadInputManager 48
Introducing RadEditor 49
Creating a Custom FileBrowser 52
Customizing the Appearance and Tools 52
Localizing RadEditor 55
Checking Spelling 57
Creating Your Own Dictionary 58
Using System Modules 58

Creating Your Own Module 59
Summary 60
■Chapter 4: Navigation RadControls 61
Using RadMenu and RadToolBar 61
Binding RadMenu to a Datasource 64
Showing Items in Multiple Columns 66
Navigating with RadMenu 66
Using RadMenu Templates 69
Setting RadMenuItem Custom Attributes 70
Creating a Two-State RadToolBarButton 72
Using RadTreeView 73
Performing Simple Navigation 73
Implementing Drag-and-Drop Functionality 74
Supporting Check Boxes 78
Loading Nodes on Demand 80
Modifying Node Text 81
Using Node Templates 84
www.it-ebooks.info
■CONTENTS
ix
Using RadSiteMap 85
Working with the Layout 85
Working with Templates 88
Binding RadSiteMap to a Datasource 89
Using RadPanelBar 91
Navigating with RadPanelBar 91
Binding to a Database 91
Creating an Automatic Hierarchy 93
Defining Templates 94
Summary 96

■Chapter 5: Date, T
Time
, and Scheduling RadControls 97
Using the RadCalendar Control 97
Choosing a Month View 97
Adding Special Dates and Day Templates 99
Configuring Localization and Globalization 100
Controlling the Appearance of the Day with the DayRender Event 101
Setting the RadDatePicker Allowed Date Rage 102
Using RadDatePicker Shared Calendars 103
Intercepting the Selected Date 104
Using RadTimePicker and RadDateTimePicker 105
Creating Custom Hours Collection 105
Using RadScheduler 106
Declarative Data Binding to a Database 107
Storing Appointments 107
Data Binding to a Web Service 110
Implementing the Data Provider 110
Localizing and Globalizing 117
Adding Context Menus 120
Working with Templates 123
Exporting to iCal Format 124
Using Resources 126
Summary 129
■Chapter 6: Data RadControls, Part 1 131
RadComboBox 131
Binding RadComboBox 132
Implementing Client Operations 133
www.it-ebooks.info
■CONTENTS

x
Accessing Client Changes in the Code Behind 135
Loading Items on Demand 137
Implementing RadComboBox Caching 141
Using ShowMoreResultsBox and EnableVirtualScrolling Properties 144
Implementing Automatic Loading On Demand 146
Creating Item Templates 147
RadGrid 149
Understanding the Structure of RadGrid 150
Understanding the Types of Grids 150
Working with RadGrid Columns 150
Working with RadGrid Rows 154
Accessing Rows and Cells 155
Making Use of the Design Time Support 156
Implementing Simple DataBinding 157
Implementing Declarative Data Binding 159
Implementing Advanced DataBinding 160
Understanding the RadGrid Event Life Cycle 161
Binding RadGrid on the Client Side 164
Implementing RadGrid Data Manipulation Operations 174
Sorting 174
Paging 177
Scrolling 181
Grouping 185
Filtering 193
Inserting, Updating, and Deleting Records 196
Implementing Client-Side API 213
Summary 227
■Chapter 7: Data RadControls, Part 2 229
RadFilter 229

RadListView 234
Implementing Data Binding for RadListView 234
Handling RadListView Editing Operations 240
Working with RadListView Templates 251
Selecting Items in RadListView 258
Implementing Paging in RadListView 259
Grouping in RadListView 265
Implementing Filtering and Sorting in RadListView 266
www.it-ebooks.info
■CONTENTS
xi
RadListBox 273
Implementing Data Binding for RadListBox 273
Reordering Items in RadListBox 274
Transferring Items Between RadListBoxes 275
Adding Images and Check Boxes to RadListBox Items 276
Working with RadListBox Item Templates 277
Summary 279
■Chapter 8: Layout RadControls 281
Using RadTabStrip and RadMultiPage 281
Creating a Hierarchical RadTabStrip 282
Binding to a Database 283
Working with Templates and Scrolling 284
Combining RadTabStrip and RadMultiPage 286
Using RadWindow and RadWindowManager 289
Creating and Opening RadWindows 290
Adding RadWindow Behaviors 291
Creating a Modal RadWindow 292
Communicating Between RadWindows 293
Implementing MDI and Minimized Zones 299

Replacements for Browser Dialogs 301
Using RadSplitter 303
Dividing Page Content with RadSplitter 303
Implementing Collapsible Panes 304
Resizing to Fill a Window 306
Creating Sliding Panes 308
Using RadDock 312
Creating a Working Dock Layout 312
Writing Custom Commands 314
Dynamically Creating RadDocks 315
Using RadRotator 320
Using Data Binding, Templates, and Rotations 320
Working with RadTicker 324
Combining RadRotator and RadTicker 325
Summary 327
www.it-ebooks.info
■CONTENTS
xii
■Chapter 9: Chart and Image RadControls 329
RadChart 329
RadChart Structure 329
Examining Chart Types 330
Bar Charts 330
Line Chart 330
Pie Charts 331
Area Charts 331
Gantt Charts 332
Point and Bubble Charts 332
Bezier Charts 333
CandleStick Charts 333

Zooming and Scrolling 340
Creating Marked Zones 343
Adding Scale Breaks 347
Plotting Negative Values 350
Using Multiple Series Types in One Chart and Data Table 353
Working with Image Maps 356
Creating Drill-Down Charts 361
RadBinaryImage 364
Using RadBinaryImage in ASP.NET Repeater 365
Using RadBinaryImage in RadGrid 366
RadRating 368
Using RadRating to Collect Feedback 369
Using RadRating in RadGrid 373
RadColorPicker 375
Building a Custom Palette 378
Summary 380
■Chapter 10: Additional RadControls 381
RadFormDecorator 381
Decorating Controls 381
Using the DecoratedZoneID Property 382
RadCaptcha 383
Implementing RadCaptcha Image Mode 384
Implementing RadCaptcha’s Invisible Text Box Mode 387
Implementing RadCaptcha Minimum Submission Time 388
www.it-ebooks.info
■CONTENTS
xiii
RadToolTip 388
Implementing RadToolTipManager’s AutoTooltipify and ToolTipZoneID 392
Loading RadToolTip Information on Demand 395

Loading RadToolTip on Demand from a Web Service 400
RadUpload 404
Implementing RadUpload 405
Filtering Uploaded Files with AllowedFileExtensions 406
Implementing Asynchronous Uploads 406
Monitoring the Upload Progress 408
Using RadProgressArea to Monitor Custom Processes 409
RadFileExplorer 411
RadSlider 412
Implementing RadSlider Items 414
Using the RadSlider Client-Side API 414
Summary 419
■Chapter 11: RadAjax 421
RadAjaxManager and RadAjaxManagerProxy 421
Implementing Client-Side Events 424
Working with the Client-Side API 428
Implementing RadAjaxManager in Web User Controls and Master Pages 429
RadAjaxPanel 431
Working with RadAjaxPanel 431
Forcing an AJAX Update 433
RadAjaxLoadingPanel 435
Configuring RadAjaxLoadingPanel Properties 436
Implementing Explicit Show/Hide 438
RadCodeBlock and RadScriptBlock 439
RadXmlHttpPanel 440
Implementing RadXmlHttpPanel with Callback 441
Implementing RadXmlHttpPanel with WebService 444
Summary 447
www.it-ebooks.info
■CONTENTS

xiv
■Chapter 12: Telerik Extensions for ASP.NET MVC 449
Quick Recap on Configuration 449
Calendar 450
Defining the Date Range 451
Implementing a Select Action 451
Implementing Globalization 453
Working with Calendar’s Client API 455
Date Picker 457
Implementing Date Ranges and the ShowButton Property 457
Parsing Dates 458
Implementing Globalization 459
Working with DatePicker’s Client API 461
NumericTextBox 463
Implementing Value Range and Spin Buttons 463
Validating User Input with Server Validation 464
Validating User Input with Model-Based Validation 466
Implementing Globalization 467
Working with NumericTextBox’s Client API 468
Menu 470
Creating a Menu Declarative and Defining the Menu Orientation 470
Binding to an Object Model 472
Creating Menu Templates 473
Working with Menu’s Client API 475
PanelBar 478
Binding to an Object Model 480
Creating Templates 481
Loading Content on Demand 483
Working with PanelBar’s Client API 485
TabStrip 488

Creating a TabStrip Declaratively 488
Binding TabStrip to an Object Model 489
Creating TabStripItem’s Content 490
Loading Content on Demand 492
Working with TabStrip’s Client API 493
TreeView 496
Creating a TreeView Declaratively and Enabling Check Boxes 496
Working with Drag-and-Drop 498
www.it-ebooks.info
■CONTENTS
xv
Binding TreeView to an Object Model 501
Creating Templates 502
Loading Content on Demand 503
Working with the Client API 505
Grid 508
Implementing Grid Operations 508
Binding to Data 510
Editing Operations 514
Implementing Templates 523
Working with Grid’s Client API 525
Summary 529
■Chapter 13: RadControls for Silverlight 531
Configuring Telerik RadControls for Silverlight 531
Enhancing the Navigation 535
Adding the Product Catalog 539
Improving the Home Page with a Dashboard 542
Implementing RadTileView 543
Implementing RadTileViewItem 549
Implementing RadChart 551

Implementing RadGridView 555
Implementing RadGauge 557
Creating the Categories Page 560
Creating the Employees Page 567
Implementing RadDocking 567
Adding the Regions and Territories 570
Implementing RadMap 576
More Interesting Controls 579
RadScheduler 579
RadCoverFlow 580
RadMediaPlayer 581
RadRibbonBar 581
RadUpload 582
RadDragAndDropManager 583
Summary 584
www.it-ebooks.info
■CONTENTS
xvi
■Chapter 14: Introducing Telerik Reporting 585
Installing and Configuring Telerik Reporting 585
Configuring Your Application 585
Knowing the Players 587
Reports 587
Viewers 590
Designers 591
Report Designer 591
Report Explorer 592
Data Explorer 593
Group Explorer 593
Report Wizard 593

Loading Data 594
Using the Datasource Components in the Report Designer 594
Using Expressions and the Expression Dialog 595
Using the Datasource Components Programmatically 596
Data Binding 596
Adding Calculated Fields 596
Filtering with Report Parameters 597
Grouping and Sorting Data 598
Creating Reports 600
Using the Report Wizard 600
Sorting 602
Filtering 603
Creating a Crosstab Report 604
Grouping 606
Formatting 607
Using Subreports 608
Displaying Reports in the Application 612
Using the Web Report Viewer 612
Using the Silverlight Report Viewer 614
Configuring the Web Application 614
Configuring the Silverlight Application 616
Using the ReportBook Control 618
Adding a Document Map 620
Summary 620
www.it-ebooks.info
■CONTENTS
xvii
■Chapter 15: Telerik OpenAccess ORM 621
System Requirements 621
Installing Telerik OpenAccess ORM 622

Configuring Your Application 623
Deploying Your Application 624
Creating the Data Model 625
Using the Enable Project Wizard 626
Adding the Mapping Classes 631
Using Reverse Mapping (Tables to Classes) 631
Forward Mapping 636
Using the Visual Domain Model Designer 637
Querying the Data Model 640
Using LINQ 640
Using OQL 641
Using SQL Statements 641
Executing Stored Procedures 641
Working Within Transactions 643
Setting the Transaction Scope 643
Adding, Updating, and Deleting Objects 644
Using Fetch Plans and Fetch Groups 645
Implementing Inheritance 653
Flat Mapping 654
Vertical Mapping 656
Mixed Mapping 657
Horizontal Mapping 658
Summary 658
■Index 661

www.it-ebooks.info
■CONTENTS
xviii
Foreword
When I started writing software, “user experience” was irrelevant. Functionality was king and it was the

user’s job to figure out how to get the most from an application. But today, user experience is king !
The quality of an application’s user experience can make or break the success of an application,
especially on the World Wide Web.
One of the real advantages of developing web applications with ASP.NET Web Forms is the rich
third party ecosystem of complementary technology accessible to web developers. Though Microsoft
provides a fine set of default controls with ASP.NET and Silverlight, many developers choose to enlist the
help of third party controls to design and implement their user interface without have to spend many
unnecessary person-hours developing UI widgets or controls that a Control ISV (Independent Software
Vender) has already created for them.
Telerik is a key contributor to that third party ecosystem and
Pro Telerik ASP.NET and
Silverlight Controls
is a unique offering that will guide to you the modern front of web application user
interface development.
José Rolando Guay Paz offers a holistic tutorial on building real applications with ASP.NET and
Telerik controls by taking you beyond the basics of control usage and including coverage on Layouts,
Charting, Reporting, AJAX, MVC, and even OpenAccess ORM.
Though there are many books on general ASP.NET Developer, Web Forms, Silverlight, ASP.NET
MVC, etc., this book is unique in that it teaches ASP.NET development form the perspective of
combining Microsoft web development technology with Telerik controls.
The combination makes for a powerful web development toolset.

Joe Stagner
Microsoft
www.it-ebooks.info
■CONTENTS
xix
About the Author
Originally from Guatemala, Central America, José has a vast experience in
the field of software development. He started working in 1995 while still

obtaining his Engineering in Computer Science and Systems degree from
the University Of San Carlos Of Guatemala. One of his professors recruited
him as a developer for a big coffee company to develop internal
applications created in Oracle technology with character based terminals.
After little over a year and a half he moved to a multinational company
dedicated to water systems where he developed most of the internal
systems, still in use today, for accounting, sales, production and others,
using what was at the time one of the newest and most promising
technologies, Oracle Developer/2000. After almost 3 years in that
company he then was hired for a much bigger challenge, a job as an
Oracle DBA for one of the biggest Oracle installations of its time, the
Guatemalan government agency in charge of tax collection.
Finding that position good, but too sedentary, José changed jobs again and went to a
completely different environment working for a company developing web software using Microsoft
technologies. Microsoft’s tools allowed him to leverage his potential and a new era in his professional
career was launched. Among the first in Central America to build commercial applications for the .NET
Platform, his journey in the web development arena started by developing software for web banking
systems in Guatemala, El Salvador and Honduras along with other types of applications for other
industries. Since then he has been heavily involved in different activities such as his participation in the
creation of the Guatemala .NET Developer User Group () and then the
creation of the “Comunidad de Desarrolladores .NET de Cobán” in the north of Guatemala
(
).
José currently holds a position in INETA Latin America as the Delegate for Carebean and
Central America. He was a regular speaker at Microsoft’s events in Guatemala until 2009 when a job
opportunity with CSW Solutions () moved him to Chicago, IL where he
currently lives with his family. He’s a Microsoft Certified Developer and a Microsoft Certified SQL Server
Specialist. He has been working with Telerik controls for more than two years now and he has developed
a well respected reputation for getting the job done applying the best practices for ASP.NET and Telerik
implementations.

www.it-ebooks.info
■CONTENTS
xx
About the Technical Reviewer
■Kevin Babcock is an avid technologist. For the past 12 years he has built
software for several small software companies, worked as a Developer
Evangelist at Telerik, and served in the U.S. Air Force as a systems
administrator. He currently builds web applications for Major League
Baseball teams. Though he's worked in a wide range of IT positions his
passion has always been software, and more recently the web. He enjoys
being involved in the .NET community and can be found speaking at user
groups and code camps, working on the occasional open source project,
and even writing on his blog once in a while. Kevin is a graduate of Texas
A&M University with a degree in Computer Science, and currently lives in
Falls Church, VA with his wife and two sons.
www.it-ebooks.info
■CONTENTS
xxi
Acknowledgments
A lot of people were involved in the process of making this book, and my countless nights and weekends
of work would easily been worthless without the help of such a talented team. No doubt, my first big
thank you is to Kevin Babcock who was always pointing me into the right direction, making wonderful
suggestions, and tackling the errors in the book; Mark Beckner for supporting my idea of this book from
the beginning; Ewan Buckingham for his valuable feedback during all the writing and revision processes;
Kelly Moritz for her great patience with my continuous delays; and last but not least Heather Lang for
her work with the copy edits. Thank you all.

José Rolando Guay Paz
www.it-ebooks.info
■CONTENTS

xxii
Introduction
ASP.NET and Silverlight are powerful platforms that allow developers to build rich and sophisticated
web systems. One of the most important features is extensibility. While it provides, out of the box, a
whole set of controls that enables developers to create web applications, they are very basic controls.
This is where Telerik comes in. Telerik is a company that provides a set of controls targeting ASP.NET
and Silverlight which empower the developer with the richness of their features, allowing them to take
the web applications to the next level.
You will find in this book a clear and complete explanation of the main features of each control
in Telerik’s RadControls for ASP.NET AJAX and Telerik RadControls for Silverlight suites of controls,
along with sample code on implementing them and also integrating with each other. The book covers
the whole set of controls for the ASP.NET platform. This includes not only the Webforms platform but
also ASP.NET MVC through the use of the Telerik Extensions for ASP.NET MVC. It also covers the
Silverlight suite of controls which targets Silverlight 3 and 4.
This book also includes Telerik Reporting to help you build from simple to complex reports;
additionaly the book includes a full chapter about Telerik Open Access, the ORM product for all data
access.
Why Telerik RadControls?
Over the course of the last few years the complexity of business models have pushed technology to limits
so far unknown to many software developers. Companies like Telerik understand that this complexity
exists and their products are designed to help these developers in creating software that delivers high
performance, are great from the usability point of view and increase the developer’s productivity.
Telerik is the first company to provide native Silverlight controls which make them the leaders in the
area. The controls not only look good but they are very flexible and implement some unique features.
Who is This Book For
This book is aimed at .NET developers working with ASP.NET Webforms and MVC and Silverlight who
want to take advantage of the prewritten controls that Telerik provides when developing their software.
No prior knowledge of Telerik controls is required, but a working knowledge of ASP.NET Webforms and
MVC as well as Silverlight is assumed.
www.it-ebooks.info

■INTRODUCTION
xxiii
What Do You Need to Use This Book
In order to create web applications using Telerik RadControls (and open the projects included in this
book) you need the following tools:
• All the projects use the following tools
• Visual Studio 2010 (any edition)
• Microsof SQL Server 2008 (download a trial or free edition at
• For the ASP.NET Webforms project
• Telerik RadControls for ASP.NET AJAX (download a trial at

• For the ASP.NET MVC project
• Telerik Extensions for ASP.NET MVC (download for free at

• For the Silverlight project
• Microsoft Silverlight 4 Tools for Visual Studio 2010 (free download at

• Telerik RadControls for Silverlight (download a trial at

• For the Telerik Reporting projects
• Telerik Reporting (download a trial at
• For the Telerik OpenAccess ORM project
• Telerik OpenAccess ORM (download a trial at

Let’s get started building web applications.

www.it-ebooks.info

×