Ejemplo n.º 1
0
 public CustomTemplateField(ListItemType litTemplateType,
                            string strColumnName,
                            string strColumnHeadText,
                            string strColumnFootText,
                            bool boolIsBoundField,
                            string strBoundFieldName,
                            TemplateFieldControlType tfctControlType,
                            string strDropDownListField = null,
                            string strDisplayName       = null,
                            string strCommandArgument   = null,
                            string strWidth             = null
                            )
 {
     this.BoundFieldName    = strBoundFieldName;
     this.ColumnFootText    = strColumnFootText;
     this.ColumnHeadText    = strColumnHeadText;
     this.ColumnName        = strColumnName;
     this.ControlType       = tfctControlType;
     this.IsBoundField      = boolIsBoundField;
     this.TemplateType      = litTemplateType;
     this.DropDownListField = strDropDownListField;
     this.DisplayName       = strDisplayName;
     this.CommandArgument   = strCommandArgument;
     this.Width             = strWidth;
 }
Ejemplo n.º 2
0
 public CustomTemplateField(string strColumnName, TemplateFieldControlType tfctControlType, string strDropDownListField = null, string strDisplayName = null, string strCommandArgument = null, string strWidth = null)
 {
     this.ColumnName        = strColumnName;
     this.ControlType       = tfctControlType;
     this.IsBoundField      = false;
     this.TemplateType      = ListItemType.Item;
     this.DropDownListField = strDropDownListField;
     this.DisplayName       = strDisplayName;
     this.CommandArgument   = strCommandArgument;
     this.Width             = strWidth;
 }