PanelBar Item Injection Broke

2 posts, 0 answers
  1. Jonathan
    Jonathan avatar
    11 posts
    Member since:
    Apr 2014

    Posted 03 Mar 2015 Link to this post

    Hi there,

    I just performed an upgrade from 2014 Q4 to 2015 Q1 and have run into an unexpected issue.  I have been using Panel Bar Item injection via the prism framework to place panel bar items for each of my modules under their respective headers.

    In my shell, the regions are laid out as follows:


    Then each of the modules has one to many panel bar items defined:

    <telerik:RadPanelBarItem  x:Class="Modules.Dashboard.Views.DashboardPanelItemView"
            <vm:DashboardCommandViewModel x:Key="DashboardCommandVm" />
            <Binding Source="{StaticResource DashboardCommandVm}" Path="Home" />

    And during module initalization, the following is called:

    public void Initialize()
                Container.RegisterType<Object, Views.DashboardView>("DashboardView");
                this._regionViewRegistry.RegisterViewWithRegion(RegionNames.Navigation.HomeNavigationPanelRegion, typeof(Views.DashboardPanelItemView));
                this._regionViewRegistry.RegisterViewWithRegion("ContentRegion", typeof(DashboardView));

    Prior to the update, this worked just fine and the panel bar items were injected under their respective parents.  Now, though, post-upgrade, it's no longer functioning.

    Any thoughts?
  2. Petar Mladenov
    Petar Mladenov avatar
    3152 posts

    Posted 05 Mar 2015 Link to this post

    Hello Jonathan,

    We tried to reproduce such issue but we did not manage to. You can check our test project in which we tried to replicate your scenario as close as possible. Please feel free to modify it or to send us an isolated sample that we can investigate locally.
    Please double check that every project in your solution uses XAML binaries or every project uses no-xaml binaries. All telerik binaries should have equal version and euqal type - xaml or no-xaml. Since we have almost no code change in this control for years, it makes me think the inner PanelBarItems in your scenario do not have their styles applied - this could happen if noxaml binaries are loaded with no Theme dll.

    Petar Mladenov

    Check out the Telerik Platform - the only platform that combines a rich set of UI tools with powerful cloud services to develop web, hybrid and native mobile apps.

Back to Top