asp.net - Password Recovery Control, Submit Button Does Nothing -
i have weird issue password recovery control. when clicking submit button, nothing happens, not go next stage should security question. its not wired or something.
here code using in web.config:
<membership defaultprovider="samwebsqlmembershipprovider"> <providers> <!-- add customized sqlmembershipprovider --> <add name="samwebsqlmembershipprovider" type="system.web.security.sqlmembershipprovider" connectionstringname="samwebconnectionstring" enablepasswordretrieval="false" enablepasswordreset="true" requiresquestionandanswer="true" applicationname="amc" requiresuniqueemail="true" passwordformat="hashed" maxinvalidpasswordattempts="5" minrequiredpasswordlength="7" minrequirednonalphanumericcharacters="1" passwordattemptwindow="10" passwordstrengthregularexpression="" /> </providers> </membership>
webpage:
<%@ page title="" language="vb" masterpagefile="~/masterpage.master" autoeventwireup="false" codefile="password-recovery2.aspx.vb" inherits="default2" %> <asp:content id="content1" contentplaceholderid="head" runat="server"> </asp:content> <asp:content id="content2" contentplaceholderid="contentplaceholder1" runat="server"> <asp:passwordrecovery id="passwordrecovery1" runat="server"> </asp:passwordrecovery> </asp:content>
i have solved problem myself. there code interfering password recovery control. offending code:
<script src="script/watermark.min.js" type="text/javascript"></script> <script type="text/javascript"> $(function () { $("[id*=username], [id*=password]").watermark(); }); </script>
thanks anyway.
Comments
Post a Comment