.net 3.5 - ASP.NET 3.5 :No Postback triggered for button click -
developed Aspiknet page in VS 2008 to me. It has a text box and a login button. Required firewall validators and validation groups are affiliated to control validity. I also wrote the Settle Handler to click the button. But the button is not clicking on. No posts are coming back. Why can anyone tell me?
HTM lmarkup
& asp: textbox id = "txtloginpass" runat = "server" & gt; & Lt; / Asp: textbox & gt; & Lt; Asp: RequiredFieldValidator id = "RequiredFieldValidator2" ControlToValidate = "txtPassword" Validation Group = "Login" error message = "Please enter password." Runat = "server" /> & Lt; Asp: button id = "btnlogin" runat = "server" text = "login" onclick = "btnlogin_lick" validation group = "login" /> Validation generates client-side JavaScript, which can prevent a postback if the required field is empty.
Comments
Post a Comment