我有一个奇怪的问题。我创建了一个登录页面,只要在任何文本框中输入焦点,页面就会自行重新加载。请查看http://oasisitsolutions.com/Login.aspx
我正在使用 HTML5,EntityFramework。
Webconfig 文件 contians
<system.web>
<compilation debug="true" targetFramework="4.0">
<assemblies>
<add assembly="System.Data.Entity, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" />
</assemblies>
</compilation>
<authentication mode="Forms"/>
<customErrors mode="Off"/>
<roleManager enabled="true" cacheRolesInCookie="true" cookieName=".ASPROLES" defaultProvider="CustomizedRoleProvider">
<providers>
<clear/>
<add connectionStringName="ConnectionString" writeExceptionsToEventLog="true" name="CustomizedRoleProvider" type="CustomizedRoleProvider"/>
</providers>
</roleManager>
<membership defaultProvider="CustomizedMembershipProvider" userIsOnlineTimeWindow="15">
<providers>
<clear/>
<add name="CustomizedMembershipProvider" type="CustomizedMembershipProvider" connectionStringName="ConnectionString" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="false" passwordFormat="Hashed" writeExceptionsToEventLog="false"/>
</providers>
</membership>
</system.web>
提前致谢,
迪内什