Expand on + does not work

7 posts, 0 answers
  1. Stefan
    Stefan avatar
    3 posts
    Member since:
    Mar 2008

    Posted 05 Mar 2008 Link to this post

    I bound the treeview with the help of an IHierarchicalEnumerable

                RadTreeView treeView = new RadTreeView();
                treeView.DataFieldID = "Id";
                treeView.DataTextField = "Titel";
                treeView.DataValueField = "Id";
                treeView.DataFieldParentID = "ParentId";
                treeView.DataNavigateUrlField = "URL";
                treeView.DataSource = source;


    I loved the fact that all of a sudden the whole Hierarchy was populated in the tree based on my object-model.

    However, the top-nodes cannot be expanded when clicking on the +-sign.
    I checked the html-source and it does contain an <ul>-block with my children with the style "display:none". So all children are being rendered onto the client-side (but are hidden). It seems as if the javascript-event for clicking the plus-sign is not fired.

    Do you have an idea what the cause is? If not, can you guide me how I can check if a javascript-event is fired (I have firefox-firebug and could set a breakpoint if you like).

  2. Hayley
    Hayley avatar
    1 posts
    Member since:
    Mar 2008

    Posted 05 Mar 2008 Link to this post

    I'm having exactly the same problem.  All the items are appearing in the source for the page but the style is set to display:none.

  3. Stefan
    Stefan avatar
    3 posts
    Member since:
    Mar 2008

    Posted 06 Mar 2008 Link to this post

    What I found out so far:
    Hence, there seems to be an issue with the Prometheus Implementation.

    I'll try to narrow it down and will get back if it works in my real application.

    However, please Telerik guys, could you please investigate this?

  4. Simon
    Simon avatar
    2281 posts

    Posted 06 Mar 2008 Link to this post

    Hello Stefan,

    Could you open a formal support ticket and send to us a small project which exhibits the erroneous behaviour? There might be a javascript error, which we would like to investigate and confirm locally.

    Thank you in advance for your cooperation and understanding.

    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Raman
    Raman avatar
    5 posts
    Member since:
    Apr 2008

    Posted 30 Apr 2008 Link to this post

    I am having the same problem although I am populating the nodes collections in code.  I am developing a web part under SharePoint if that lends any help.  I have attached event handlers to NodeClick and NodeExpand but nothing happens - i.e. no calls are made to the server.

  6. Kurt
    Kurt avatar
    17 posts
    Member since:
    Aug 2006

    Posted 14 Nov 2008 Link to this post

    I am having a similar issue where the [+] action does not fire when using FireFox 3.x with the AJAX RadTree view. The control works fine in IE7. In my case, I do have a few client event wired up, specifically:

    After experimenting a while, I found the tree worked properly when I removed the client event settings. After discovering this, I figured that I must have a JS syntax error somewhere, so I decided to comment out all the JS function guts, so all the above methods were effectivly empty shells. I figured it would work now, and I could then find the offending code.. no luck :(. It seems the setting any one of the afore mentioned client events seems to cause the issue.

    I still have not found a solution :(

  7. Yana
    Yana avatar
    4807 posts

    Posted 17 Nov 2008 Link to this post

    Hi Kurt,

    I am not able to replicate the described issue, you can find attached my test project. Could you modify it so that we can observe the problem and send it back to us? Thanks

    Best wishes,
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top