コード例 #1
0
 private void BindTopLevelDomains(DropDownList ctl_list, bool transfer)
 {
     ctl_list.DataSource = StorefrontHelper.GetStorefrontProductsByType(ResellerId,
                                                                        Product.TOP_LEVEL_DOMAIN);
     ctl_list.DataBind();
     // bind cycles
     if (transfer)
     {
         BindDomainCyclesForTransfer();
     }
     else
     {
         BindDomainCyclesForRegistration();
     }
     //
     ShowExtensionFields();
 }
コード例 #2
0
 private void BindQuickHostingPlans()
 {
     rptHostingPlans.DataSource = StorefrontHelper.GetStorefrontProductsByType(ecPanelRequest.ResellerId, Product.HOSTING_PLAN);
     rptHostingPlans.DataBind();
 }