Refresh Treeview with updated count

2 posts, 0 answers
  1. sudhakar
    sudhakar avatar
    35 posts
    Member since:
    Jul 2010

    Posted 23 Sep 2010 Link to this post


    I have a problem with Treeview updating its counter on left handside.Below are the details:

    1) Treeview consists of some Products and has counter on left handside updating clients e.g Product 1 (Clients: 4) and the tree    structure continues with nodes.

    2) On the right side of the screen there is button when clicked, opens a Pop-up and enter details of clients and their usage, once the pop-up is closed , I want to achieve 2 things :
            a)  The Treeview should update the Counter for Clients like  Product 1 (Clients: 4) to Product 1 (Clients: 5)
    b) The above node should be higlighted and Selected same as previuosly selected before opening a pop up.

    3) I tried to Refresh the treeview after closing popup it definately updates but i am losing the selected node, and the client everytime after inserting the product has to come back seraching for the previous node.

    For info i am using I call a function to Databind the Treeview on Pageload.

    Any Solution will be appreciated.

  2. Nikolay Tsenkov
    Nikolay Tsenkov avatar
    734 posts

    Posted 28 Sep 2010 Link to this post

    Hi sudhakar,

    Could you, please, post a sample page reproducing this?
    Also, please, post some screen shots of the scenario that you try to implement, because I am not sure what exactly are Clients and Products roles (you explain on some level of abstraction that you currently are building, but I can not be implicitly aware of) in this scenario.

    Once we got the scenario and specifics of the requirements, I am sure, we will solve the problem!

    Nikolay Tsenkov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
Back to Top