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. Image for the cookie policy date

Dynamically added documents not visible

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.

1 Reply

MS Marimuthu Sivalingam Syncfusion Team December 27, 2016 09:50 AM UTC

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.

Loader.
Up arrow icon