Language preference:

Phase 5: Source code files

What to look for

All of the edits are found in only two files: the Master Page, ~/BLD Templates/Content/PageTemplates_Phase5.master, and Product Details page, ~/BLD Templates/CustomPages_Phase5/Details.aspx.

Changes to the Master page:

  • The Validation User Interface is changed by properties on the PageManager control.
  • The BLDCustomizer control assigns several properties of Field Templates. It also sets up the NoErrorFormatter feature used by Validation.
  • Filter Templates will auto post back after edits due to the <FilterTemplateProperties> node of the BLDCustomizer control.
  • A Cancel button prompts and all buttons disable on submit due to properties in the <DataControls> node of the BLDCustomizer.

Changes to the Product Details page:

<%Master Language="C#"  %>

<script runat="server">
protected void Page_Init(object pSender, EventArgs pArgs) { // Identifies the phase to others, such as PhaseBLDRoute objects. HttpContext.Current.Items["Phase"] = "phase5"; }
</script> <html xmlns="http://www.w3.org/1999/xhtml"> <head id="Head1" runat="server"> <title>BLD Database Explorer: Phase 5</title> <link href="PageTemplates.css" rel="stylesheet" type="text/css" /> <asp:ContentPlaceHolder id="head" runat="server" /> </div> </form> </body> </html>