public string Run(string name, string value, string className, int maxLength) { TextBoxControl textBoxControl = new TextBoxControl(name); textBoxControl.Value = value; textBoxControl.CssClass = className; textBoxControl.MaxLength = maxLength; return(textBoxControl.Render(RootView)); }
public string Run(string name, string value, string className, int maxLength) { TextBoxControl textBoxControl = new TextBoxControl(name); textBoxControl.Value = value; textBoxControl.CssClass = className; textBoxControl.MaxLength = maxLength; return textBoxControl.Render(RootView); }
protected internal override Control CreateControl(string name) { TextBoxControl control = new TextBoxControl(name); control.MaxLength = MaxLength; control.AutoComplete = AutoComplete; control.Size = Width; control.OnKeyDown = OnKeyDown; control.OnKeyUp = OnKeyUp; control.OnKeyPress = OnKeyPress; control.ReadOnly = ReadOnly; return control; }
protected internal override Control CreateControl(string name) { TextBoxControl control = new TextBoxControl(name); control.MaxLength = MaxLength; control.AutoComplete = AutoComplete; control.Size = Width; control.OnKeyDown = OnKeyDown; control.OnKeyUp = OnKeyUp; control.OnKeyPress = OnKeyPress; control.ReadOnly = ReadOnly; return(control); }