Replacement of CheckOpenIdDLL() in Kentico8?

Prashant Garg asked on April 2, 2015 14:08

Hi,

I use this (CMSOpenIDHelper.CheckOpenIdDLL()) in Kentico 7 work well, but we upgrade our version from Kentico 7 to Kentico 8 that not work and raise compile time issue. Please let me know the replacement/solution of this issue.

Regards,

Prashant Garg

Correct Answer

Brenden Kehren answered on April 2, 2015 14:19

According to the Kentico API Changes documentation, this is no longer supported.

0 votesVote for this answer Unmark Correct answer

Recent Answers


Prashant Garg answered on April 2, 2015 14:43

Thank you Brenden for your quick response. but what should be use instead of. Please help me.

Thanks - Prashant

0 votesVote for this answer Mark as a Correct answer

Brenden Kehren answered on April 2, 2015 16:24

In what context are you using that namespace? You might share some code and what you are trying to accomplish.

0 votesVote for this answer Mark as a Correct answer

Prashant Garg answered on April 3, 2015 08:36

// Content loaded event handler.

public override void OnContentLoaded()
{
    base.OnContentLoaded();
    SetupControl();
}


/// <summary>
/// Initializes the control properties.
/// </summary>
protected void SetupControl()
{
    if (!StopProcessing)
    {
        // Check renamed DLL library
        if (CMSOpenIDHelper.CheckOpenIdDLL())     <------------------- Error is here.
        {
            // Check if LinkedIn module is enabled
            if (LinkedInHelper.LinkedInIsAvailable(SiteContext.CurrentSiteName))
            {
                DisplayButtons();
                linkedInHelper = new LinkedInHelper();
                CheckStatus();
            }
            else
            {
                // Error label is displayed in Design mode when LinkedIn is disabled
                if (PortalContext.ViewMode == ViewModeEnum.Design)
                {
0 votesVote for this answer Mark as a Correct answer

   Please, sign in to be able to submit a new answer.