I had change my project from C# ASP.NET empty web application (.NET Framework 4.5) over to C# ASP.NET web form application (.NET Framework 4.5). After changing over I realise that my AJAX control isn't working at all. Below is one part of my code of password strength ajax control. Do help me check if I did anything wrongly or forget to add something into it. Thanks!
<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %><asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server"><asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server"></asp:ToolkitScriptManager><asp:PasswordStrength ID="PasswordStrength1" runat="server" TargetControlID="txtPassword" DisplayPosition="RightSide" StrengthIndicatorType="Text" PreferredPasswordLength="10" PrefixText="Strength: " MinimumNumericCharacters="0" MinimumSymbolCharacters="0" RequiresUpperAndLowerCaseCharacters="false" TextStrengthDescriptions="Very Poor;Weak;Average;Strong;Excellent"></asp:PasswordStrength><asp:TextBox ID="txtPassword" runat="server" TextMode="Password"></asp:TextBox></asp:Content>
Add on: there is no error in it just that it not working (nothing happen) for password strength and the other ajax controls.
I try adding this into web.config:
<add assembly="AjaxControlToolkit, Version=4.0.30319.0, Culture=neutral, PublicKeyToken=28F01B0E84B6D53E"/><add tagPrefix="asp" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit, Version=4.0.30319.0, Culture=neutral, PublicKeyToken=28F01B0E84B6D53E"/>
I got this error after adding that into webconfig: