This commit is contained in:
Kathy Ruffing 2012-02-27 16:13:34 +00:00
parent 1cad967d8d
commit 18743629c6

View File

@ -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