This commit is contained in:
@@ -57,7 +57,7 @@ namespace VEPROMS.CSLA.Library
|
||||
if (args.AncestorLookup || ParentLookup)
|
||||
{
|
||||
string retval;
|
||||
SectionInfo sect = _Section.MySectionInfo;
|
||||
SectionInfo sect = _Section != null ? _Section.MySectionInfo : _SectionInfo;
|
||||
while (sect.ActiveParent.GetType() == typeof(SectionInfo))
|
||||
{
|
||||
retval = sect.SectionConfig.GetValue(args.Group, args.Item);
|
||||
@@ -92,6 +92,7 @@ namespace VEPROMS.CSLA.Library
|
||||
string xml = sectionInfo.MyContent.Config;
|
||||
if (xml == string.Empty) xml = "<config/>";
|
||||
_Xp = new XMLProperties(xml);
|
||||
if (_SectionInfo.ActiveParent != null) _Xp.LookInAncestor += new XMLPropertiesEvent(Xp_LookInAncestorFolder);
|
||||
}
|
||||
public SectionConfig(string xml)
|
||||
{
|
||||
|
Reference in New Issue
Block a user