March 20th, 2014, 03:50 PM
Detect field changes in user control and then save changes to database
I have a client that wants to update a customer's information (to the database) when one or more fields change in my server user control. The page is presented by a grid in the center of the content area with a customer summary on the right (the user control). When a user selects a new customer in the grid the summary section on the right grabs the customer info from the DB and refreshes the fields on the customer panel on the right. This panel has text boxes and drop down lists that the user can change values in.
I don't want to update the customer's DB record each time a particular field changes but would rather just fire it off just once preferably before the user selects a different customer (row) in the grid or when the control 'looses focus'.
Any help would be appreciated.
Click Here to Expand Forum to Full Width
This is a Codeguru.com survey!