protected override void OnPreRender(System.EventArgs e)
{
if (this.PublicParmValues.Any()) {
string sTmp = "";
try {
sTmp = GetParmValue("SortNavBy", "");
if (!String.IsNullOrEmpty(sTmp)) {
this.SortNavBy = (SortOrder)Enum.Parse(typeof(SortOrder), sTmp, true);
}
sTmp = GetParmValue("IncludeParent", "");
if (!String.IsNullOrEmpty(sTmp)) {
this.IncludeParent = Convert.ToBoolean(sTmp);
}
} catch (Exception ex) {
}
}
base.OnPreRender(e);
}