Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Paul Sørensen 302 posts 648 karma points
    Jun 24, 2014 @ 22:32
    Paul Sørensen

    Controlling the route in Custom sections v7


    I have a multi level custom tree where I need to call different edit and create view depending on tree level

    if (id == Constants.System.Root.ToInvariantString())
        var tree = new TreeNodeCollection();
        var controller = new CourseTreeController();
        var route = string.Format("App_Plugin/msBackend/CourseTree/club");
        foreach (var club in query)
            var node = this.CreateTreeNode(string.Format("club-{0}", club.Id), 
                id, queryStrings, club.Name, "icon-store"true, route);
        return tree;

    The route does not do the job so how can this be achieved?

    /Paul S


Please Sign in or register to post replies

Write your reply to: