12 references to Control
System.Web.Mobile (12)
UI\MobileControls\Adapters\HtmlValidatorAdapter.cs (7)
48
if (!
Control
.IsValid &&
Control
.Display != ValidatorDisplay.None)
51
if (!String.IsNullOrEmpty(
Control
.Text))
53
writer.WriteText(
Control
.Text, true);
55
else if (!String.IsNullOrEmpty(
Control
.ErrorMessage))
57
writer.WriteText(
Control
.ErrorMessage, true);
59
writer.ExitStyle(Style,
Control
.BreakAfter);
UI\MobileControls\Design\Adapters\DesignerValidatorAdapter.cs (5)
36
String width = DesignerAdapterUtil.GetWidth(
Control
);
44
int maxWidth = DesignerAdapterUtil.GetMaxWidthToFit(
Control
, out templateStatus);
63
if (
Control
.Text.Trim().Length > 0)
65
((DesignerTextWriter)writer).WriteCssStyleText(Style, null,
Control
.Text, true);
69
((DesignerTextWriter)writer).WriteCssStyleText(Style, null,
Control
.ErrorMessage, true);