I have an issue that I have been going around in circles with for a little while now. I have a webform with a simple save button on it
which has code for the click event
I am running into a problem because when the user clicks on the button the btnSaveProduct_Click event is fired correctly and everything on the form is saved correctly. However, when the user tabs over to the button and clicks enter the btnSaveProduct_Click event is fired correctly but the items on the form are not saved correctly. It hits all the same code and the only difference is how the user clicks save. It almost seems like the clicking the button does a postback to the form but tabbing and clicking enter does not.
Does anyone have any insight to what the problem may be??
<
telerik:RadButton
ID
=
"btnSaveProduct"
runat
=
"server"
Skin
=
"Web20"
Text
=
"Save"
></
telerik:RadButton
>
which has code for the click event
Private
Sub
btnSaveProduct_Click(
ByVal
sender
As
System.
Object
,
ByVal
e
As
System.EventArgs)
Handles
btnSaveProduct.Click
If
pageIsValid() =
True
Then
processPage()
End
If
End
Sub
I am running into a problem because when the user clicks on the button the btnSaveProduct_Click event is fired correctly and everything on the form is saved correctly. However, when the user tabs over to the button and clicks enter the btnSaveProduct_Click event is fired correctly but the items on the form are not saved correctly. It hits all the same code and the only difference is how the user clicks save. It almost seems like the clicking the button does a postback to the form but tabbing and clicking enter does not.
Does anyone have any insight to what the problem may be??