We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Added view not visible in dockingRegion

Thread ID:

Created:

Updated:

Platform:

Replies:

130052 Apr 18,2017 08:45 PM UTC Apr 19,2017 07:02 PM UTC WPF 1
loading
Tags: DockingManager
Richard
Asked On April 18, 2017 08:45 PM UTC

I have a project that uses some of the same features of the "Portfolio Analyzer" code base.

It defines two views to go in the "DockingRegion" - one of the views is displayed and the other is not. I cannot work out why the missing view is not showing.

The main code is as follows:

        void worker_DoWork(object sender, DoWorkEventArgs e)
        {
            this.Dispatcher.Invoke(DispatcherPriority.Background, new Action(() =>
            {
                ShowWindow();
                this.moduleManager.LoadModule("BundleModule");
                this.moduleManager.LoadModule("BundleDetailsModule");
                activateView();
            }));

        }

        void worker_RunWorkerCompleted(object sender, RunWorkerCompletedEventArgs e)
        {
            win.Close();
        }

        void SelectedViewEventHandler(string ViewName)
        {
            if (ViewName == "Dashboard")
            {
                if(!worker.IsBusy)
                worker.RunWorkerAsync();
            }
        }

        private void activateView()
        {
            IRegion ribbonRegion = regionManager.Regions[RegionNames.RibbonRegion];

            object dview = ribbonRegion.GetView("dashboardView");
            ribbonRegion.Activate(dview);

            IRegion dockingRegion = regionManager.Regions[RegionNames.DockingRegion];
            object v1 = dockingRegion.GetView("bundleDetailsView");
            object v2 = dockingRegion.GetView("bundleView");

            dockingRegion.Activate(v2);
            dockingRegion.Activate(v1);
        }

The "bundleView" display as is full width, the "bundleDetailsView" does not show at all.

Unfortunately, I can't post all of the code on a public forum.



Marimuthu Sivalingam [Syncfusion]
Replied On April 19, 2017 07:02 PM UTC

Hi Richard,

Thank you for contacting Syncfusion support.

We have checked with provided details in Portfolio Analyzer code. But we are unable to reproduce reported issue. So we have created an incident under your account to follow up on this to get the more details about code you have used in your application. So we request you to follow up on the incident created under your account. Please log on to our support website to check for further updates

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents

Regards,
Marimuthu S.


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

;