Export (0) Print
Expand All

Working with ASP-Based Forms

Exchange Server 2003

Working with ASP-Based Forms

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Exchange store applications often need to support additional custom functionality, such as data validation, error checking, and the enforcement of business rules. These requirements can be satisfied using the ASP-based forms. Alternatively, using form registrations and the exwform.dll Internet Server Application Programming Interface (ISAPI) extension cannot support application requirements such as data validation. HTML Forms and the Form Renderer describes the advantages of implementing the exwform.dll rendering solution.

Script in an ASP-based form can create the Exchange store Form object and the Exchange store form renderer. In addition, it performs all of the basic functions in ASP that can be performed as exwform.dll ISAPI extensions using the Exchange store Form object. In this model, the ASP page can serve as both the HTML form and the script, which perform form processing. The Exchange Web form renderer exposes an object model representing the HTML page. The attributes and innerText property for each HTML element can be read and modified. The renderer also exposes a Fields collection containing the properties from the data item being referenced in the request. The Exchange store Form object provides methods to create new items, render items, and update existing items.

The following topics provide additional information about ASP-based Exchange Web forms:

Using the Exchange Store Form Object

Separating Script and Markup

Using the Form Object to Apply Business Rules

Using the Form Object to Modify HTML Conditionally

Data Binding in ASP Forms

An Example of ASP-Based Forms

© 2014 Microsoft