Best way to find multiple nodes that match a criteria

2 posts, 0 answers
  1. Roatin Marth
    Roatin Marth avatar
    65 posts
    Member since:
    Nov 2007

    Posted 30 Sep 2009 Link to this post

    Just wondering what the recommended way it to find multiple nodes that have a certain attribute for example.

    Since FindNodeByAttribute only returns one result.  I'm mainly concerned with the server side that the moment, but wouldn't mind knowing the answer for client side as well.

    Thanks
  2. Schlurk
    Schlurk avatar
    812 posts
    Member since:
    May 2009

    Posted 30 Sep 2009 Link to this post

    There are a few different ways to do it but if you check out the traversing nodes documentation article it shows how to traverse all the nodes, and also mentions the GetAllNodes() method. Your best bet will most likely be cycling through either all the nodes, or certain sections depending on what your structure is.
  3. UI for ASP.NET Ajax is Ready for VS 2017
Back to Top