Пример #1
0
        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));
        }
Пример #2
0
        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);
        }
Пример #3
0
	    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;
	    }
Пример #4
0
        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);
        }