Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
865
To hide a node in client side
posted

Hi,

      can someone tell me how to hide a particular node in the client-side?

Thanks

Jollyguy

  • 28464
    posted

    Hide, in terms of make the node invisible is not supported on the client I believe, but I guess you can remove the node if this fits your scenario (and maybe add it back, if needed later). You can take advantage of the remove() and addChild() client-side (CSOM) methods of the Node object documented here:

    http://help.infragistics.com/Help/NetAdvantage/NET/2008.1/CLR2.0/html/WebTree_Node_Object_CSOM.html

    Alternatively, you can use AJAX to hide the node, for example place the UltraWebTree instance inside an UpdatePanel and use server-side events to make nodes visible/invisible.

    Hope this helps.