Sample Home | Reset Form


Select:
Name:
Company:
Email:
Message:
Password:
Entered on:
Active:   
Primary Tool:
Show as:
   

  

This sample demonstrates the core concepts of a single form edit, new save, cycle applet, including the ability to enable and disable content based on the state of the form. This sample demonstrates many of the frequently used features of the Web Control framework including, Postback state management without code, persistence of post data even when data is disabled or hidden, auto-postbacks (of the list in this case), databinding to avariety of different controls, displaying binding and business logic errors easily and much more.

To test this form, select an entry from the drop down, click edit, then save the entry. Play around with leaving some fields blank to see the automatic error handling for ControlSource binding in action.

Considering the functionality this page provides, there's very little code used. Most of the code in this form resembles a Windows Desktop application, setting properties on controls and managing the control display state. All logic and actions are neatly separated by event handlers in the server side code that handle each action distinctly and separate from each other. This sample uses drastically less code than a comparable Web Connection 'classic' application would have to write to accomplish this same task.