Hey @ckrusen , I have an issue with the customization file. After saving the customization with a specific name, it doesn’t appear when I want to reference it in the menu maintenance. How should I go about fixing this?
Tick / Untick the All Companies box.
2 Likes
Hey @klincecum ,
I managed to create my UD form in developer mode, but I still have a few issues that need to be resolved. First, how do I remove the text “Root Node Text”?
Second, when I save the form, turn off developer mode, and then try to open the form again, it reverts to the initial template. How can I fix these issues?
I’ve got a cut and paste solution. Un momento.
Okay
using Infragistics.Win;
public void InitializeCustomCode()
{
//Replace thisForm with Form Name
CreateBlankForm(thisForm, "New Form Title");
}
public void CreateBlankForm(Form whichForm, string newTitle = null)
{
//Change Form Title
if(newTitle != null) whichForm.Text = newTitle;
//Hide the top Toolbar
baseToolbarsManager.Visible = false;
//Hide the left side treeview
((Infragistics.Win.UltraWinDock.WindowDockingArea)this.csm.PersonalizeCustomizeManager.ControlsHT[whichForm.Name + ".windowDockingArea1"]).Visible = false;
//Hide the right side dockable window.
((Infragistics.Win.UltraWinDock.WindowDockingArea)this.csm.PersonalizeCustomizeManager.ControlsHT[whichForm.Name + ".windowDockingArea2"]).Visible = false;
}
You have to assign a customization in Menu Maintenance, and restart the client.
4 Likes