Example #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));
        }
Example #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);
        }
Example #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;
	    }
Example #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);
        }