Button Click Event Does Not Fire
I dealt with an ASP.NET form that uses AJAX tab container and each tab has several controls. I added a new tab with one textbox and one button to try to save the text into database. The button click event did not fire!!! I have the button on other pages and they are working fine. What could be the problem?
After binging around still could not find the problem … all of sudden I found out there are some required field validation controls on other tab and when my button clicked, those required field validator will prevent the form being submitted due to those fields are empty and they are in other tab so I could not see them!!!
The solution is to add CauseValidation = “false” in my button control attribute.