0

I am using an IEWC webcontrol in ASPX/C# page and whenever a treeview element is clicked, it will refresh to the top of the page. Is there any way to stop this? It now works fine in IE with the addition of Autopostback and Viewstate set to True. Just not in Chrome. (Note: I am well aware that IE web controls were never meant to work 100% outside IE)

4

1 回答 1

0

这已通过添加一段 jQUery 来解决,该 jQUery 搜索元素的父 ID 并删除节点上的 HREF。或者,您可以设置一个会话参数来记住scrollX并在页面加载时重新设置

于 2012-07-17T15:44:02.483 回答