#
tigermain
If you make this minor change to the content regions you can have user controls in your template files which have adminable content regions:
Change to file Web\UI\Template\BaseTemplate.cs line 59:
Am still testing will post here if I find any issues
Change to file Web\UI\Template\BaseTemplate.cs line 59:
public Hashtable Containers
{
get
{
Hashtable tbl = new Hashtable();
foreach (Control ctrl in this.Form.Controls)
{
if (ctrl is PlaceHolder)
{
tbl.Add(ctrl.ID, ctrl);
}
else if (ctrl is UserControl)
{
foreach (Control ctrl2 in ctrl.Controls)
{
if (ctrl2 is PlaceHolder)
tbl.Add(ctrl2.ID, ctrl2);
}
}
}
return tbl;
}
}Am still testing will post here if I find any issues