用于显示登录状态的登录图像 url

发布于 2024-10-01 06:16:55 字数 240 浏览 0 评论 0原文

我有一个登录控件,它工作得很好,并且我输入了登录状态,当我为登录状态指定登录图像 URL 时,我遇到了一个特定问题,即使 iam 登录控件也无法将我重定向到默认页面对的人,在这种情况下甚至不会进入日志记录事件,当我删除图像 URL 时一切都很好,我想使用图像 url 来澄清状态..

我注意到一些事情:

当我输入用户时名称和密码,然后单击通过键盘输入我注销,重点是登录状态控制,,当我单击按钮时,每个人都认为没问题,,问题是什么???

i have a login control ,it works perfectly,,and i put login status, i get a specific problem when i specify the login image URL for my login status ,,the login control can't redirect me to the default page even when iam the right person ,it even does not enter the logging event in this case ,,when i remove the image URL every thing is okay, i wanna to use image url to clarify the status..

i note some thing:

when i enter the user name and password and click enter through keyboard i logout and the focus is on the login status control ,, when i click on the button every think is okay ,, what is the problem????

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

何时共饮酒 2024-10-08 06:16:55

您可以使用此处描述的方法:
http://forums.asp.net/t/896760.aspx

希望在您定义之后将 DefaultButton 设置为正确的登录控件提交按钮,ENTER 键将按预期工作。

You can use the method described here:
http://forums.asp.net/t/896760.aspx

Hopefully after you define the DefaultButton to the correct Login control submit button, the ENTER key will work as expected.

铃予 2024-10-08 06:16:55

您需要将图像放在不需要身份验证/授权的文件夹/位置中。

You need to put the image in a folder/location that does not require authentication/authorization.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文