/// <summary>
    /// Reloads shopping cart item selector data.
    /// </summary>
    public void ReloadData()
    {
        if (SKUID <= 0)
        {
            return;
        }

        DebugHelper.SetContext("ShoppingCartItemSelector");

        InitializeControls();

        if (ShowProductOptions)
        {
            LoadProductOptions();
        }

        // Fill units textbox with default quantity
        if (ShowUnitsTextBox)
        {
            if (String.IsNullOrWhiteSpace(txtUnits.Text))
            {
                txtUnits.Text = DefaultQuantity.ToString();
            }
        }

        mDataLoaded = true;
        DebugHelper.ReleaseContext();
    }
    /// <summary>
    /// Reloads shopping cart item selector data.
    /// </summary>
    public void ReloadData()
    {
        if (SKUID <= 0)
        {
            return;
        }

        DebugHelper.SetContext("ShoppingCartItemSelector");

        InitializeControls();

        if (ShowProductOptions)
        {
            LoadProductOptions();
        }

        // If donation properties should be shown and SKU product type is donation
        if (ShowDonationProperties && (SKU != null) && (SKU.SKUProductType == SKUProductTypeEnum.Donation))
        {
            donationProperties.Visible        = true;
            donationProperties.StopProcessing = false;
            donationProperties.SKU            = SKU;
            donationProperties.ShoppingCart   = ShoppingCart;
            donationProperties.ReloadData();
        }

        // Get count of the product options
        if (AlwaysShowTotalPrice || (ShowTotalPrice && SKUHasOptions))
        {
            // Count and show total price with options
            CalculateTotalPrice();
        }

        // Fill units textbox with default quantity
        if (ShowUnitsTextBox)
        {
            if (txtUnits.Text.Trim() == "")
            {
                txtUnits.Text = DefaultQuantity.ToString();
            }
        }

        mDataLoaded = true;
        DebugHelper.ReleaseContext();
    }