This commit is contained in:
parent
1cad967d8d
commit
18743629c6
@ -285,20 +285,19 @@ namespace VEPROMS.CSLA.Library
|
||||
if (s == string.Empty)
|
||||
s = _Xp.ParentValue("Section", "Pagination"); // get the parent value
|
||||
//If there is no parent value, then use the volian default
|
||||
//if (s == string.Empty)
|
||||
//{
|
||||
// if (MyFormat != null)
|
||||
// {
|
||||
// bool rval = MyFormat.MyStepSectionLayoutData.BreakOnSections;
|
||||
// return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default
|
||||
// }
|
||||
// else
|
||||
// {
|
||||
// bool rval = MyDefaultFormat.MyStepSectionLayoutData.BreakOnSections;
|
||||
// return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default
|
||||
// }
|
||||
//}
|
||||
if (s == string.Empty) return SectionPagination.Continuous;
|
||||
if (s == string.Empty)
|
||||
{
|
||||
if (MyFormat != null)
|
||||
{
|
||||
bool rval = MyFormat.MyStepSectionLayoutData.BreakOnSections;
|
||||
return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default
|
||||
}
|
||||
else
|
||||
{
|
||||
bool rval = MyDefaultFormat.MyStepSectionLayoutData.BreakOnSections;
|
||||
return (rval) ? SectionPagination.Separate : SectionPagination.Continuous;// default to volian default
|
||||
}
|
||||
}
|
||||
return (SectionPagination)int.Parse(s);
|
||||
}
|
||||
set
|
||||
|
Loading…
x
Reference in New Issue
Block a user