#
login
SectionEdit.aspx.cs - CreateCustomSettings()
If you make several selections in the Module combo then the Custom Settings placeholder is lost and fails to display. Seems to occur on the second or postback.
To resolve this issue I added a line at the start of the call to CreateCustomSettings():
this.plcCustomSettings.Controls.Clear();
..and then commented out line:
this.pnlCustomSettings.Visible = mt.ModuleSettings.Count > 0
This leaves the Custom Settings placeholder always visible (which I feel looks better, even when empty), but solved the problem of the disapearing placeholder.
If you make several selections in the Module combo then the Custom Settings placeholder is lost and fails to display. Seems to occur on the second or postback.
To resolve this issue I added a line at the start of the call to CreateCustomSettings():
this.plcCustomSettings.Controls.Clear();
..and then commented out line:
this.pnlCustomSettings.Visible = mt.ModuleSettings.Count > 0
This leaves the Custom Settings placeholder always visible (which I feel looks better, even when empty), but solved the problem of the disapearing placeholder.