I have created a page which has repeater, updatepanel, text box, buttons.
When I click on repeater, the itemcommand event is fired, that is okay.
When I click on button, the onclick event is fired, that is also fine.
But now if I click on any other button or repeater item command or anything, only onclick is fired and form submits again.
I don't know what is wrong but the onclick event seems to fire for all the controls.
Can anyone help out with the solution?
Detailed problem:
Repeater is on the top with the user list. downwards is a textbox with a button to save some note for that particular user.
Now when i click on repeater itemcommand fires and the textbox appears with the previous info saved (using updatepanel). I re-edited the textbox and saved using button onclick.
Now I want to navigate to 2nd user using repeater itemcommand. I clicked on user's name, but the event fired was button onclick used for saving the form but not the itemcommand.
I tried to add more button and test it but after the onclick event is fired, any other control is not firing their event but rather they are firing onclick on the save button only