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.

Dynamically added documents not visible

Thread ID:

Created:

Updated:

Platform:

Replies:

128008 Dec 24,2016 11:40 AM Dec 27,2016 04:50 AM UWP 1
loading
Tags: SfDockingManager
DanDev
Asked On December 24, 2016 11:40 AM

I'm trying to add a document after pressing a button.

DockingManager.Children.Add(element);
SfDockingManager.SetDockState(element, DockState.Document);
SfDockingManager.SetHeader(element, document.DisplayName);

This works fine for documents loaded at the start of the app. When called in a button click callback, it will create a widget with no header, to the left (not a document). If I click the 'Float' button I can then drag it into the document pane and its Header will show up.

If I call Children.Add after SetDockState/SetHeader, the widget does not show at all.

Marimuthu Sivalingam [Syncfusion]
Replied On December 27, 2016 04:50 AM

Hi Daniel,

We were able to reproduce the issue and have logged defect report regarding this. A support incident to track the status of this defect has been 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.

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.

;