I have a user control that is comprised of 3 textboxes, 3 buttons and a gridview. I can set the defaultbutton property of the form, but that would only affect one button.
Each textbox/button combo should have a behavior that when the textbox has focus, pressing Enter should fire its associated button.
To further complicate the issue, this is being used inside a Master Page implementation.
Is there any way to do this? As far as I can tell, .NET will only allow one default button - it doesn't provide to explicitly associate textboxes and buttons.
I welcome your insights.