| By Aaron Reed | Article Rating: |
|
| March 12, 2006 03:30 PM EST | Reads: |
23,815 |
The GridView offers the same easy data binding to the new data source controls listed above, but in addition to that it offers fully functional sorting and paging with no extra code. Simply set the AllowSorting and AllowPaging properties to true and the work is done. The GridView control also offers improved ways to allow for editing of records as well as much better support for different controls used in columns rather than simple text.
Another new feature of the GridView is the EnableSortingAndPagingCallbacks property, which when set to true, will generate client-side scripting to handle the sorting and paging of the GridView without causing an entire page post back to the server. This is a nice addition for grid-intense Web pages and it functions much as an Ajax DLL would.
ReportViewer Control
The reporting functionality in .NET 2.0 has been revamped and enhanced. The ReportViewer, CrystalReportPartsViewer, and CrystalReportSource controls are used to design, generate, and display reports in a visual format that is much easier than anything used in .NET 1.x.
DetailsView Control
The DetailsView control displays a single record from a query at a time and does so with every field displaying on a separate row. The control has full functionality for inserting, updating, deleting, and paging and works great in combination with the GridView control explained above to give the user master-detail information on a query.
FormView Control
The FormView control is very similar to the aforementioned DetailsView, but rather than displaying all of the fields in rows, you display them in user-defined templates. The biggest difference here is that you have much more control over exactly how the data is displayed. It also has built in support for data binding, paging, inserting, updating, and deleting.
WebParts Controls
Finally, WebParts are one of the most exciting new features of ASP.NET 2.0. Ideal for portal systems and personalized Web sites, WebParts allow you to easily develop Web site sections that can be added, moved, deleted, etc., on an individual basis per user of your system. .NET 2.0 uses a slick client-side drag-and-drop technique to allow the user to move the WebParts around the page (see in Figure 3). WebParts can be dropped onto any WebPartZone control that you have set up on your page.
Other key controls used in WebParts are:
- WebPartManager: Not a visible run-time control, this control maintains the WebParts on the screen and ensures that they all work together.
- CatalogZone: Allows you to let the user add new WebParts that are not currently visible to the page.
- EditorZone: This control houses different EditorPart controls (AppearanceEditorPart, BehaviorEditorPart, LayoutEditorPart, PropertyGridEditorPart) and allows users to personalize their pages accordingly.
- ConnectionZone: Houses ConnectionPart controls that allow different WebParts to communicate with each other.
Published March 12, 2006 Reads 23,815
Copyright © 2006 SYS-CON Media, Inc. — All Rights Reserved.
Syndicated stories and blog feeds, all rights reserved by the author.
More Stories By Aaron Reed
Aaron Reed is an assistant professor specializing in software architecture and design and .NET development at Neumont University in Salt Lake City, UT. He has worked professionally in the industry for over 12 years as a lead architect/designer, development manager, and VP of development. When he isn't spending time reading up on the latest in software development, Aaron loves spending time with his beautiful wife and three children.
![]() |
SYS-CON Australia News Desk 03/12/06 04:36:24 PM EST | |||
On the eve of the official release of .NET 2.0, developers around the world were anxiously waiting and priming their PCs for a speedy download from MSDN. And who could blame them? Microsoft's .NET development platform has been a hit with the developer community ever since the first betas came out years ago. |
||||
- Kindle 2 vs Nook
- Confessions of a Ulitzer Addict
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Infrastructure-as-a-Service Will Mature in 2010: Microsoft's David Chou
- Windows 7 – Microsoft’s First Step to the Cloud
- Cloud Expo and the End of Tech Recession
- Jill Tummler Singer, Deputy CIO of CIA, Keynotes at GovIT Expo
- Reality Check at the Cloud Computing Expo
- Visual Studio 2010 Is Cloud Friendly
- Fired SCO CEO Fires Back
- Kindle 2 vs Nook
- The Difference Between Web Hosting and Cloud Computing
- Ajax in RichFaces 3.3, JSF 2 and RichFaces 4
- Confessions of a Ulitzer Addict
- Wave on Ulitzer: Confessions of a Google Wave Fanboy
- IBM Hardware Chief, Intel VC Exec Arrested in Insider Trading Scam
- Cloud Computing Best Practices
- Tactical Cloud Computing Panel at 1st Annual GovIT Expo
- Ulitzer.com Named Exclusive "New Media" Sponsor of Cloud Computing Conference & Expo
- Infrastructure-as-a-Service Will Mature in 2010: Microsoft's David Chou
- Eval JavaScript in a Global Context
- Windows 7 – Microsoft’s First Step to the Cloud
- Google Maps and ASP.NET
- Crystal Reports XI & How It Has Changed
- Converting VB6 to VB.NET, Part I
- Creating Controls for.NET Compact Framework in Visual Studio 2005
- Where Are RIA Technologies Headed in 2008?
- How to Write High-Performance C# Code
- AJAX World RIA Conference & Expo Kicks Off in New York City
- Implementing Tab Navigation with ASP.NET 2.0
- i-Technology Photo Exclusive: Bill Gates & Steve Jobs In "Nerds"
- .NET Archives: Getting Reacquainted with the Father of C#
- i-Technology Viewpoint: "SOA Sucks"
- Programmatically Posting Data to ASP .NET Web Applications





























