Tim,
>All the rest of the fields are bound controls. I am getting a null exception on the oContact object in the submit click event. It seems the object creation in the load event is not persistent. What is the proper way to do this? I could create it in the click event but then would just unbind all the controls and set them in the click event also.
You're getting the error because you are checking for !IsPostBack in the form's load. You should be checking for IsPostBack instead. Clicking the submit button posts your web form back to the server.
Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com