I have a formview control (.NET 2.0/VS2005) in which users enter company contact information. When a user enters a postal code in the appropriate text box, the territory for that company needs to be calculated and displayed in a territory drop down list.
I know how to calculate and retrieve the territory from my SQL Server database, but I can't seem to nail down how to trigger the code and don't want the user to have to click a button.
I tried using the OnTextChanged event, but that doesn't seem to be what I want because I need this calculation to be performed prior to saving the record.
Can anyone point me in the right direction?
Thanks in advance!
Lori