Title: ASP.NET AJAX Control Toolkit
1(No Transcript)
2ASP.NET AJAX Control Toolkit
- Jan Blomquist, MVP, MCT
- www.traincert.net
- www.cbtoffice.no
3Agenda
4Using the Toolkit for Page Development
- Easily enhance existing websites (or create new
ones) - Over 30 AJAX-Enabled Component
- JavaScript skills not required
- Drag-and-drop Design Experience
- Will be improved in Orcas
- Easily deployed to websites BIN directory
- Included source allows customization and/or fixes
by customers
5Creating a Toolkit-enabled Website
6Using the Toolkit for Component Development
- Primary focus on enabling easy AJAX component
development - Plumbing code is included in templates so you
dont have to write it! - Lots of added functionality and features
- Focus on preserving ASP.NET AJAX techniques and
practices - Writing code with the Toolkit leverages ASP.NET
AJAX so youre not learning different concepts - Many support alternatives (forums, community,
source code, etc.)
7More about Behaviors and Extenders in ASP.NET AJAX
- Behaviors
- Add or modify functionality to an element on the
page - Written in JavaScript
- Modify the HTML DOM
- Extenders
- ASP.NET components
- Associate an ASP.NET Control with a Behavior
- Leverage Server-Side and Design Time
8The ASP.NET AJAX Library JavaScript Framework
- Object oriented framework build on JavaScript
- Provides automatic cross-browser compatibility
layer - Built-in classes for WebService calls, Type
system, basic DOM operations - Allows structured programming and encapsulation
- No more sprinkling JavaScript around your site!
9Creating A Toolkit Component
- Two types of components in the Toolkit
- Behavior Extender
- ASP.NET AJAX-aware Control (ScriptControl)
- Which to choose?
- If required HTML shape is very specific, write a
control and then attach behaviors to it - If HTML shape is simple or common, write an
extender
10Anatomy of a Toolkit Component
11Anatomy of a Toolkit Component
12Anatomy of a Toolkit Component
13Anatomy of a Toolkit Component
14Creating an Extender Project
- Toolkit package has Visual Studio templates for
- Toolkit-enabled website
- Toolkit component project
- Toolkit Components
- VB C for each
15Creating a Toolkit Extender
16GRATIS AJAX WIDGETS
- GAIA AJAX Web Widgets for ASP.NET
- www.ajaxwebwidgets.com
- Gratis til alle deltagere på MSDN
- Registrer deg med kupong kodegaiax (gyldig ut
februar)
17Til slutt
- Hjelp oss å bli bedre
- Fyll ut evalueringen som kommer på e-post
- Gi direkte råd til Microsoft-representanter
- Hold deg oppdatert
- www.microsoft.no/informasjon
- Besøk oss på www.microsoft.no/msdn eller
www.microsoft.no/technet