I am trying to allow the ability from a FloatingWindow to open a DocumentWindow in the parent form RadDock object but its null.
Here is how I am doing it as a Docked ToolWindow, but it changes to FloatingWindow when I undock it and the parentform of that is now null.
string itemName = rows.GetProperty("Name").ToString();
DocumentWindow documentTop = new DocumentWindow();
documentTop.Text = itemName;
documentTop.DocumentButtons = DocumentStripButtons.All;
//dosnt want to add a document because I cannot find the Form that opened this.
if (this.ParentForm is FloatingWindow)
//todo: find a way to call the DockManager and add a new document.
//this works only when the ToolWindow object is Docked.
if (this.ParentForm is RadRibbonForm1)
Any Assistance would be helpful.