Quantcast
Channel: DevExpress Support Center (Examples)
Viewing all articles
Browse latest Browse all 7205

ASPxTreeList - How to store a focused node key in cookies

$
0
0

ASPxTreeList does not save a focused node in cookies. However, you can add this capability by saving and restoring a focused node to cookies manually:

[JScript]
function OnFocusedNodeChanged(s, e){ ASPxClientUtils.SetCookie(s.name + '_focudedKey', s.GetFocusedNodeKey());}function OnInit(s, e){if(ASPxClientUtils.GetCookie(s.name+'_focudedKey')!=null) s.SetFocusedNodeKey(ASPxClientUtils.GetCookie(s.name+'_focudedKey'));}


Viewing all articles
Browse latest Browse all 7205

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>