Пример #1
0
        private void BindTopLevelDomainData()
        {
            TopLevelDomain tld = StorehouseHelper.GetTopLevelDomain(ecPanelRequest.ProductId);

            if (tld == null)
            {
                RedirectToBrowsePage();
            }

            txtDomainTLD.Text = tld.ProductName;
            ecUtils.SelectListItem(ddlTLDRegistrar, tld.PluginId);
            txtProductSku.Text         = tld.ProductSku;
            chkTaxInclusive.Checked    = tld.TaxInclusive;
            rblTLDStatus.SelectedIndex = (tld.Enabled) ? 0 : 1;
            chkWhoisEnabled.Checked    = tld.WhoisEnabled;

            // load cycles
            ctlBillingCycles.LoadDomainNameCycles(
                StorehouseHelper.GetTopLevelDomainCycles(ecPanelRequest.ProductId));
        }