HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/RMourik/bassol.nl/CMS/CMSWebParts/OnlineMarketing/MyPendingContacts.ascx.cs
using System;

using CMS.Helpers;
using CMS.PortalControls;

public partial class CMSWebParts_OnlineMarketing_MyPendingContacts : CMSAbstractWebPart
{
    #region "Public properties"

    /// <summary>
    /// Gets or sets the site name. If is empty, documents from all sites are displayed.
    /// </summary>
    public int SiteID
    {
        get
        {
            return ValidationHelper.GetInteger(GetValue("Site"), 0);
        }
        set
        {
            SetValue("Site", value);
        }
    }


    /// <summary>
    /// Gets or sets the value of items per page.
    /// </summary>
    public int PageSize
    {
        get
        {
            return ValidationHelper.GetInteger(GetValue("PageSize"), 10);
        }
        set
        {
            SetValue("PageSize", value);
        }
    }

    #endregion


    #region "Methods"

    protected void Page_Load(object sender, EventArgs e)
    {
        if (StopProcessing)
        {
            pendingContacts.StopProcessing = true;
        }
        else
        {
            pendingContacts.SiteID = SiteID;
            pendingContacts.IsWidget = true;
            pendingContacts.PageSize = PageSize;
        }
    }

    #endregion
}