AJAX 控制工具包 ValidationCallOutExtender 有哪些替代方案

发布于 2024-10-04 08:01:22 字数 225 浏览 0 评论 0原文

我在 Chrome 中使用 Calloutextender 时遇到问题。如果页面上不在视图中的元素发生错误,则标注扩展器会将其自身定位在视口的顶部。也就是说,它不会将焦点设置在元素上,并将浏览器插入符和视图移动到错误的元素上。工作时,通常会看到焦点设置在错误的元素上,并且标注显示正确。

Telerik 有这样做吗?我知道有一个 JQuery 替代方案,但它有什么好处吗(我可以只针对特定元素)

谢谢。

I am having issues with the Calloutextender in Chrome. If an error occurs on an element on the page which is not in view, The callout extender positions itself at the top of the viewport. That is it does not set focus on the element and move the browser caret and view to focus on the element in error. When working, this would usually see focus set on the element in error and the callout displayed correctly.

Do telerik do one? I know there is a JQuery alternative, but is it any good (can I target just target specific elements)

Thanks.

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

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

发布评论

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

评论(1

流心雨 2024-10-11 08:01:22

我整理了从多个不同来源找到的信息,以便尽快提供帮助......

因此,如果 AJAX 控制工具包无法满足您的要求,请考虑升级到 2010 年 4 月的版本。但请注意,升级可能会有点痛苦。

那时,我在 .NET 3.5 环境中使用 Telerik 控件,这意味着我必须在这里采用以下解决方案(并且它有效!!):(

向下滚动到 Rowland O'connor 大约一半)
http://www.telerik .com/community/forums/aspnet-ajax/general-discussions/ajax-control-toolkit-compatability.aspx
(本质上在 RadScriptManager 中,Telerik 的重写 ScriptManager - 我们明确引用了 ACT js 文件的特定版本)

但是,如果您有不同的设置(.NET 4,非 Telerik 解决方案),请查看此链接

http:// blog.thinkoriginally.com/2010/05/03/microsoft-jscript-runtime-error-ajaxcontroltoolkit-requires-asp-net-ajax-4-0-scripts/

HTH

I have collated information I have found from a number of different sources to help as quickly as possible.....

So, if the the AJAX control toolkit is failing you, consider upgrading to the April 2010 release. Be aware that upgrading, though, can be a bit painful.

Right then, I am using Telerik controls in a .NET 3.5 environment and this has meant I have had to go with the following solution here (and it works!!):

(scroll to Rowland O'connor about half way down)
http://www.telerik.com/community/forums/aspnet-ajax/general-discussions/ajax-control-toolkit-compatability.aspx
(in essence in the RadScriptManager, Telerik's overriden ScriptManager - we explcitly refer to specific versions of ACT js files)

However, if you have different set up (.NET 4, non-Telerik solution) check out this link

http://blog.thinkoriginally.com/2010/05/03/microsoft-jscript-runtime-error-ajaxcontroltoolkit-requires-asp-net-ajax-4-0-scripts/

HTH

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