Hello there, I met a problem. I have a textbox, requirefiledValidator and a button on the same row. If I don't put anything in the textbox first and hit the button. The validator is triggered. (The display of the validator is dynamic.) Then I put something in the textbox and hit the button again. But the button's onclick event is not triggered. I figured out the reason. I think the mouse click caused the onblur event of the textbox, then the validator error message is gone, then the button position is changed. So the onclick is not on the button anymore. The sample code is here.
<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> ...
Go to the complete details ...