This commit is contained in:
@@ -56,9 +56,9 @@ namespace VEPROMS.CSLA.Library
|
||||
if (args.AncestorLookup || ParentLookup)
|
||||
{
|
||||
string retval;
|
||||
//ProcedureInfo proc = _Procedure.MyProcedureInfo;
|
||||
// There may be levels of procedures, i.e. procedures within a procedure.
|
||||
ProcedureInfo proc = _Procedure != null ? _Procedure.MyProcedureInfo : _ProcedureInfo;
|
||||
while (proc.ActiveParent.GetType() == typeof(ProcedureInfo))
|
||||
while (proc.ActiveParent.IsProcedure)
|
||||
{
|
||||
retval = proc.ProcedureConfig.GetValue(args.Group, args.Item);
|
||||
if (retval != string.Empty) return retval;
|
||||
|
Reference in New Issue
Block a user