Beispiel #1
0
 public RadioButtonListBuilder(
     IInternalSystemVariable variable, RadioButtonList rbl, ControlLibrary.Web.Language.LanguageComponent languageComponent)
 {
     this._variable          = variable;
     this._rbl               = rbl;
     this.languageComponent1 = languageComponent;
 }
Beispiel #2
0
 public CheckBoxListBuilder(
     IInternalSystemVariable variable, CheckBoxList cbl, ControlLibrary.Web.Language.LanguageComponent languageComponent)
 {
     this._variable          = variable;
     this._cbl               = cbl;
     this.languageComponent1 = languageComponent;
 }
Beispiel #3
0
 public DropDownListBuilder2(
     IInternalSystemVariable variable, DropDownList ddl, ControlLibrary.Web.Language.LanguageComponent languageComponent)
 {
     this._variable          = variable;
     this._ddl               = ddl;
     this.languageComponent1 = languageComponent;
 }
Beispiel #4
0
 protected void drpResourceTypeEdit_Load(object sender, System.EventArgs e)
 {
     if (!IsPostBack)
     {
         IInternalSystemVariable variable = InternalSystemVariable.Lookup(ResourceType.ResourceTypeName);
         if (variable != null)
         {
             foreach (string code in variable.Items)
             {
                 string msg = this.languageComponent1.GetString(code);
                 if (msg == "" || msg == null)
                 {
                     msg = code;
                 }
                 this.drpResourceTypeEdit.Items.Add(new ListItem(msg, code));
             }
         }
         //				else
         //				{
         //					WebInfoPublish.Publish(this,"$Error_No_ResourceType",this.languageComponent1);
         //
         //					return;
         //				}
     }
 }