Using normal link and even the JavaScript below, called in another function, will transfer the page to the new URL, and since caching is turned on, load it from the cache. But clicking a node on the TreeView, although sending to the new page, will not use the cache, and the page loads from the server.
Do you know how to explain this behavior or a work around? This code was added as an attempt to override default behavior as a fix to this issue, but had no effect noticeable from the default behavior
Do you know how to explain this behavior or a work around? This code was added as an attempt to override default behavior as a fix to this issue, but had no effect noticeable from the default behavior
function
OnClientNodeClicking(sender, eventArgs)
{
var
node = eventArgs.get_node();
var
url = node.get_navigateUrl();
if
(url) window.location = url;
eventArgs.set_cancel(
true
);
}