Comments
Patrick Collands wrote: collands (AT) gmail com I'd be very grateful for an invitation. Thank you.
Cloud Expo on Google News

SYS-CON.TV

2009 East
PLATINUM SPONSORS:
IBM
Smarter Business Solutions Through Dynamic Infrastructure
IBM
Smarter Insights: How the CIO Becomes a Hero Again
Microsoft
Windows Azure
GOLD SPONSORS:
Appsense
Why VDI?
CA
Maximizing the Business Value of Virtualization in Enterprise and Cloud Computing Environments
ExactTarget
Messaging in the Cloud - Email, SMS and Voice
Freedom OSS
Stairway to the Cloud
Sun
Sun's Incubation Platform: Helping Startups Serve the Enterprise
POWER PANELS:
Click For 2008 West
Event Webcasts
Summing Up the New ASP.NET Controls
ASP + .NET 2.0 = productivity

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.
As you can see, the folks at Microsoft have heard a lot of our complaints and requests from working with .NET 1.x and have spent a lot of time coming up with some tremendous additions to the controls that are already available. While .NET 2.0 offers some great additions to the language such as generics and other modifications to the environment itself, the real treasure awaiting us all is arguably in the great enhancements to the ASP.NET toolset. With the combination of variety of purpose and the power and flexibility these new controls offer, there's no doubt that you'll find many of them extremely useful in your next development project.
About 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.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

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.


Your Feedback
SYS-CON Australia News Desk wrote: 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.
Latest Cloud Developer Stories
The Enterprise Cloud Requires a real time infrastructure and a management discipline that understands and can enforce service level discipline.
CloudBench Applications, Inc. announced its financial results for the three months and nine months ending September 30, 2009. All amounts are stated in Canadian dollars unless otherwise noted. Revenues from BasicGov, the Company's cloud computing solution for local government, gr...
The new contract is an industry first, with CSC being the first Microsoft partner to lead and win a cloud computing services agreement of this scale. Under terms of the contract, CSC will provide Royal Mail Group's 30,000 employees with access to new IT services using Microsoft's...
Operates in over 170 countries and is one of the world’s leading providers of communications solutions and services. Richard Tarboton talks for MeettheBoss.TV on his role as Head of Energy & Carbon for BT and what they are doing towards reducing carbon emissions.
CA is going to put its Agile Planner software on salesforce.com’s Force.com platform in the first half to accelerate development time and give users visibility over their development initiatives to reduce time-to-market. Customers are supposed to be able to accelerate the deploym...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021

SYS-CON Featured Whitepapers
ADS BY GOOGLE

Breaking Cloud Computing News
CloudBench Applications, Inc. announced its financial results for the three months and nine months e...