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