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. (N开发者_开发问答ote: I am well aware that IE web controls were never meant to work 100% outside IE)
This was fixed by adding in a piece of jQUery that searches for the element's parent ID and removes the HREF on the nodes.
Alternatively, you can set a session parameter that remembers the scrollX and re-set this on page load
加载中,请稍侯......
精彩评论