protected void Page_Load(object sender, EventArgs e)
 {
     this.Title = "Panoply Technologies";
     Master.setMenuIndex(4);
     Master.requiresAuthentication = true;
     if (!this.securityLayer())
     {
         return;
     }
     SageCRMPortalListBlock.EntityWhere = "case_primarypersonid=" + SageCRMPortalListBlock.GetVisitorInfo("pers_personid");
 }
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Panoply Technologies";
        Master.setMenuIndex(5);
        Master.requiresAuthentication = true;
        if (this.securityLayer())
        {
            return;
        }
        string persid = SageCRMPortalListBlock.GetVisitorInfo("pers_personid");

        SageCRMPortalListBlock.SelectSQL = "SELECT * from vlistcommunication " +
                                           " where pers_personid=" + persid;
    }
    protected void Page_Load(object sender, EventArgs e)
    {
        this.Title = "Panoply Technologies";

        Master.setMenuIndex(3);
        Master.requiresAuthentication = true;
        if (!this.securityLayer())
        {
            return;
        }
        string compid = SageCRMPortalListBlock.GetVisitorInfo("comp_companyid");

        SageCRMPortalListBlock.EntityWhere = "pers_companyid=" + compid;
        lbl_personinfo.Text          = "This is a list of the people within your company that we have.";
        SageCRMDataSource1.SelectSQL = "select count(*) as 'totalpeople' from person where pers_companyid=" + compid;
    }