protected override void InitializeTargetObject()
 {
     base.InitializeTargetObject();
     targetVolunteer = LoadObjectFromAPI <msVolunteer>(ContextID);
     if (targetVolunteer == null)
     {
         GoToMissingRecordPage();
     }
 }
Пример #2
0
    protected override void InitializeTargetObject()
    {
        base.InitializeTargetObject();
        targetVolunteer = LoadObjectFromAPI <msVolunteer>(ContextID);
        if (targetVolunteer == null)
        {
            GoToMissingRecordPage();
        }

        targetTraitType = LoadObjectFromAPI <msVolunteerTraitType>(Request.QueryString["traitTypeID"]);
        if (targetTraitType == null)
        {
            GoToMissingRecordPage();
        }
    }
Пример #3
0
 protected override void InitializeTargetObject()
 {
     base.InitializeTargetObject();
     targetVolunteer = LoadObjectFromAPI <msVolunteer>(ContextID);
 }