RibbonView in 2013_2_0729 hotfix

2 posts, 0 answers
  1. Dodd
    Dodd avatar
    44 posts
    Member since:
    Dec 2012

    Posted 31 Jul 2013 Link to this post

    Hello, I downloaded 2013_2_0729 hotfix and RadRibbionView doesn't work as before.
    I'm using the below code (called from the OnContentRendered event of RadRibbonWindow).
    _mainRibbon is a RadRibbonView instance and each tab in  _mainRibbon is dynamically created.
    This code worked fine in former versions, but after applying 2013_2_0729 hotfix, NullExceptionError occurrs in _mainRibbon.Visibility = Visibility.Visible;. Can this be fixed?

            private void createFeatures()
            {
                List<IPluginFactory> featureFactories = PluginManager.Instance.GetFactories(typeof(IFeatureFactory));
                foreach (IPluginFactory factory in featureFactories)
                {
                    // Providing callback (delegate) to create any number of FeatureWindows from the feature
                    IFeature feature = (factory as IFeatureFactory).Create(_mainRibbon, createFeatureWindow, create3DWindow);
                }

                _mainRibbon.SelectedIndex = 0;
                _mainRibbon.Visibility = Visibility.Visible;
            }

  2. Tina Stancheva
    Admin
    Tina Stancheva avatar
    3298 posts

    Posted 02 Aug 2013 Link to this post

    Hello Dodd,

    Unfortunately from the provided information we cannot tell for sure what might be causing this exception. Can you please elaborate a bit more on your scenario and its implementation. And if possible, can you please try to isolate that case in a sample solution? Then we will be able to try and reproduce it locally and further investigate the cause.

    Thank you in advance for your cooperation.

    Regards,
    Tina Stancheva
    Telerik
    TRY TELERIK'S NEWEST PRODUCT - EQATEC APPLICATION ANALYTICS for WPF.
    Learn what features your users use (or don't use) in your application. Know your audience. Target it better. Develop wisely.
    Sign up for Free application insights >>
  3. UI for WPF is Visual Studio 2017 Ready
Back to Top