LoadOnDemand - Webservice - Expand/Collapse Images

4 posts, 0 answers
  1. Christian
    Christian avatar
    37 posts
    Member since:
    Oct 2007

    Posted 03 Dec 2008 Link to this post

    Hello,

    when I use LoadOnDemand with a Webservice, I return the a List of nodes which are added to the clicked node. How can I set property of the added nodes, if they are expandable or not. In my situation all returned nodes have the +/- images indicating, that they are expandable.
    I tried to the the ExpandMode to Clientside, but this did not work.
  2. Atanas Korchev
    Admin
    Atanas Korchev avatar
    8462 posts

    Posted 03 Dec 2008 Link to this post

    Hello Christian,

    Please check our online example.

    Kind regards,
    Albert
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
  3. Christian
    Christian avatar
    37 posts
    Member since:
    Oct 2007

    Posted 03 Dec 2008 Link to this post

    Nice example,but I don't even find the Webservice Method:
    GetTreeViewCategories

    Can you help me please

    Thank you,
    Christian
  4. Christian
    Christian avatar
    37 posts
    Member since:
    Oct 2007

    Posted 04 Dec 2008 Link to this post

    Ok, I found the solution,

    when I add the node, and the node has childnodes, I set the expandMode to Webservice.
    When I add the node, and the node has no childnodes, I don't set any expandMode.
    I was looking for an Enumeration-Value expandMode.None :)

    My fault.

    Thank you
    Christian
Back to Top