protected void Page_InIt(object sender, EventArgs e)
    {
        PersonifyControlBase objbase = new PersonifyControlBase();
        // var ctrl = new Personify.WebControls.ShoppingCart.UI.CartPreviewControl();
        var ctrl = new Personify.WebControls.Profile.UI.PurchaseHistory();

        PersonifyControlBase obbase = new PersonifyControlBase();

        //Personify.WebControls.Base.Business.PersonifyIdentity xyz = objbase.GetPersonifyUser();
        SME.PersonifyContainer.ContainerHelper.EnsureRadAjaxManager(ctrl);
        objbase.InitPersonifyWebControl(ctrl);
        phPersonifyControl.Controls.Add(ctrl);
    }
    protected void Page_InIt(object sender, EventArgs e)
    {
        var vendorPassword = ConfigurationManager.AppSettings["PersonifySSO_Password"].ToString();
        var vendorBlock    = ConfigurationManager.AppSettings["PersonifySSO_Block"].ToString();
        var vendorId       = ConfigurationManager.AppSettings["PersonifySSO_VendorID"];

        var encryptedVendorToken = RijndaelAlgorithm.GetVendorToken(Request.Url.AbsoluteUri, vendorPassword,
                                                                    vendorBlock, "Username", "Password", true);
        PersonifyControlBase objbase = new PersonifyControlBase();
        // var ctrl = new Personify.WebControls.ShoppingCart.UI.CartPreviewControl();
        var ctrl = new Personify.WebControls.Profile.UI.PurchaseHistory();

        PersonifyControlBase obbase = new PersonifyControlBase();

        objbase.InitPersonifyWebControl(ctrl);
        phPersonifyControl.Controls.Add(ctrl);
    }