Ejemplo n.º 1
0
 protected override void CreateChildControls()
 {
     CulturedHelper.CreateChildControls(this, "Street,City,StateProvince,ZipPostal,Country", 1, new Dictionary <string, ITemplate>
     {
         {
             "Street",
             this.StreetTemplate
         },
         {
             "ZipPostal",
             this.ZipPostalTemplate
         },
         {
             "City",
             this.CityTemplate
         },
         {
             "StateProvince",
             this.StateProvinceTemplate
         },
         {
             "Country",
             this.CountryTemplate
         }
     });
 }
Ejemplo n.º 2
0
 protected override void CreateChildControls()
 {
     CulturedHelper.CreateChildControls(this, "FirstName,Initials,LastName", 0, new Dictionary <string, ITemplate>
     {
         {
             "FirstName",
             this.FirstNameTemplate
         },
         {
             "Initials",
             this.InitialTemplate
         },
         {
             "LastName",
             this.LastNameTemplate
         }
     });
 }