27 references to Control
System.Web.Mobile (27)
UI\MobileControls\Adapters\ChtmlTextBoxAdapter.cs (2)
32
if (
Control
.Numeric)
38
if (!
Control
.Password)
UI\MobileControls\Adapters\HtmlTextBoxAdapter.cs (18)
42
_staticValue =
Control
.Text;
55
if ((
Control
.Text == null ||
Control
.Text.Length > 0) && !
Control
.Password)
58
writer.WriteText(
Control
.Text, true);
61
if (
Control
.Size > 0)
63
writer.WriteAttribute("size",
Control
.Size.ToString(CultureInfo.InvariantCulture));
65
if (
Control
.MaxLength > 0)
67
writer.WriteAttribute("maxlength",
Control
.MaxLength.ToString(CultureInfo.InvariantCulture));
69
if (
Control
.Password)
76
writer.ExitLayout(Style,
Control
.BreakAfter);
85
renderName =
Control
.UniqueID.Replace(':', ',');
89
renderName =
Control
.UniqueID;
101
if (
Control
.Form.Action.Length > 0 || (!IsViewStateEnabled() &&
Control
.Text != _staticValue))
103
writer.WriteHiddenField(
Control
.UniqueID,
Control
.Text);
109
Control ctl =
Control
;
UI\MobileControls\Design\Adapters\DesignerTextBoxAdapter.cs (7)
45
bool pwd =
Control
.Password;
46
int size =
Control
.Size;
49
int maxWidth = DesignerAdapterUtil.GetMaxWidthToFit(
Control
, out templateStatus);
57
else if (DesignerAdapterUtil.InMobileUserControl(
Control
))
142
String width = DesignerAdapterUtil.GetWidth(
Control
);
156
if (!String.IsNullOrEmpty(
Control
.Text))
159
writer.WriteText(
Control
.Text, true);