.NET news » ASP.NET ASP.NET Rss Feed

Professional ASP.NET 3.5: In C# and VB (Programmer to Programmer)
Authors: Bill Evjen, Scott Hanselman, Devin Rader
Average rating: 4.0 / 26
(26 reviews)
More .NET ASP.NET books
download
Master/Detail Filtering With Two DropDownLists
The DropDownList serves as an ideal user interface element for master/detail reports where there is a one-to-many relationship between the master and detail records.
8 Feb 2007, 13:39:26   Source: Master/Detail Filtering With Two DropDownLists   Tags: ASP.NET
Master/Detail Filtering With a DropDownList

A common type of report is the master/detail report, in which the report begins by showing some set of "master" records. The user can then drill down into one of the master records, thereby viewing that master record's "details." Master/detail reports are an ideal choice for visualizing one-to-many relationships, such as a report showing all of the categories and then allowing a user to select a particular category and display its associated products. Additionally, master/detail reports are useful for displaying detailed information from particularly "wide" tables (ones that have a lot of columns). For example, the "master" level of a master/detail report might show just the product name and unit price of the products in the database, and drilling down into a particular product would show the additional product fields (category, supplier, quantity per unit, and so on).

There are many ways with which a master/detail report can be implemented. Over this and the next three tutorials we'll look at a variety of master/detail reports. In this tutorial we'll see how to display the master records in a DropDownList control and the details of the selected list item in a GridView. In particular, this tutorial's master/detail report will list category and product information.

8 Feb 2007, 12:30:25   Source: Master/Detail Filtering With a DropDownList   Tags: ASP.NET
E-Mail in ASP.NET
Explains how to send e-mail from ASP.NET, including sending of simple e-mail, adding attachment, HTML e-mails and how to avoid potentially dangerous request errors.
5 Feb 2007, 11:52:04   Source: E-Mail in ASP.NET   Tags: ASP.NET Internet
Eucalypto - ASP.NET CMS library using NHibernate
ASP.NET server library for creating CMS website (forums, articles/wiki, news, users/roles, ...), using NHibernate for data access
1 Feb 2007, 17:26:00   Source: Eucalypto - ASP.NET CMS library using NHibernate   Tags: ASP.NET
Embed PDFs into a Web Page with a Custom Control
Embed PDFs into a Web Page with a Custom Control
27 Jan 2007, 16:31:00   Source: Embed PDFs into a Web Page with a Custom Control   Tags: ASP.NET
Tab control for ASP.NET Applications
Creating Tab control in ASP.NET
23 Jan 2007, 22:54:00   Source: Tab control for ASP.NET Applications   Tags: ASP.NET
Creating a DotNetNukeŽ Module - For Absolute Beginners!
How to create a DotNetNukeŽ module using Visual Studio Express - for DotNetNuke version 4.
21 Jan 2007, 21:34:00   Source: Creating a DotNetNukeŽ Module - For Absolute Beginners!   Tags: ASP.NET
Improving ASP.NET Application Performance and Scalability
Explore ways to reduce page load time, manage state efficiently, scale back on memory use, handle resources better, and improve data access in your ASP.NET applications.
Creating a DNN Module and Understanding DNN Architectural Approach
How to create a DotNetNuke Module that does something and understand how it and the DNN architecture work together
17 Jan 2007, 21:59:00   Source: Creating a DNN Module and Understanding DNN Architectural...   Tags: ASP.NET
Persisting Page State in ASP.NET 2.0

Page state, commonly referred to as view state, is persisted in a hidden form field, by default. When a page is being rendered, any programmatic changes to a control's state is saved to the page's overall view state. During the rendering stage, this view state is serialized into a base-64 encoded hidden form field and sent down to the client's browser. On postback, the view state data is sent back to the web server, where it is deserialized and returned to the appropriate Web controls in control hierarchy so that they may re-establish their state as it was prior to the postback.

View state provides a slick way to remember state in a stateless client-server model and it happens underneath the covers without any extra effort from page developers. The downside of view state, however, is that in certain situations the view state can grow to be exceedingly large. A large view state requires a longer page download time since it bloats the total web page size and also affects the postback time, since the entire view state content must be posted back to the web server along with the other form fields.

It is possible, however, to persist view state to an alternate medium. Such customizations were possible in ASP.NET 1.x by overriding a couple of methods in the Page class. ASP.NET 2.0 makes customizing page state persistence easier as this logic is handled through a separate class. In this article we'll explore the built-in page state persistence options in ASP.NET 2.0, which includes the ability to persist page state to session state rather than through a hidden form field.

16 Jan 2007, 18:00:00   Source: Persisting Page State in ASP.NET 2.0   Tags: ASP.NET