Ejemplo n.º 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);
        }
Ejemplo n.º 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));
        }
Ejemplo n.º 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;

            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;

            return control;
	    }