72 references to Control
System.Web.Mobile (72)
UI\MobileControls\Adapters\XhtmlAdapters\XhtmlBasicObjectListAdapter.cs (72)
49
int[] tableFieldIndices =
Control
.TableFieldIndices;
52
if (
Control
.AllFields[tableFieldIndices[i]].Visible) {
63
if (SecondaryUIMode == _modeDetails &&
Control
.Items.Count > 0) {
64
Control
.PreShowItemCommands (
Control
.SelectedIndex);
70
if (
Control
.ViewMode == ObjectListViewMode.List) {
71
Control
.CreateTemplatedItemsList(doDataBind);
74
Control
.CreateTemplatedItemDetails(doDataBind);
79
fieldIndices =
Control
.TableFieldIndices;
84
fieldIndices[0] =
Control
.LabelFieldIndex;
91
switch (
Control
.ViewMode) {
97
if (
Control
.SelectListItem(itemIndex, true)) {
98
if (
Control
.SelectedIndex > -1) {
101
Control
.ViewMode = ObjectListViewMode.Details;
115
if (
Control
.SelectListItem(itemIndex, false)) {
116
Control
.RaiseDefaultItemEvent(itemIndex);
125
Control
.ViewMode = ObjectListViewMode.List;
136
return
Control
.Commands.Count > 0;
141
String controlDefaultCommand =
Control
.DefaultCommand;
151
int[] tableFieldIndices =
Control
.TableFieldIndices;
156
visibleFieldsInListView =
Control
.AllFields[
Control
.LabelFieldIndex].Visible ?
162
foreach (ObjectListField field in
Control
.AllFields) {
179
return
Control
.Commands.Count == 1 &&
180
(String.Compare (
Control
.DefaultCommand,
Control
.Commands[0].Name, true /* ignore case */, CultureInfo.CurrentCulture) == 0);
197
if (
Control
.ViewMode == ObjectListViewMode.List) {
198
if (
Control
.HasControls()) {
208
if (
Control
.Selection.HasControls()) {
210
Control
.Selection.RenderChildren(writer);
214
RenderItemDetails(writer,
Control
.Selection);
224
if (
Control
.AllFields.Count == 0) {
233
Style labelStyle =
Control
.LabelStyle;
234
Style subCommandStyle =
Control
.CommandStyle;
245
writer.WriteEncodedText (item[
Control
.LabelFieldIndex]);
259
ObjectListCommandCollection commands =
Control
.Commands;
270
String controlBCT =
Control
.BackCommandText;
282
if (
Control
.VisibleItemCount == 0) {
287
Style labelStyle =
Control
.LabelStyle;
288
Style subCommandStyle =
Control
.CommandStyle;
306
writer.Write(item[
Control
.LabelFieldIndex]);
314
IObjectListFieldCollection fields =
Control
.AllFields;
338
ObjectListCommandCollection commands =
Control
.Commands;
346
String controlBCT =
Control
.BackCommandText;
349
Control
.BackCommandText;
364
IObjectListFieldCollection fields =
Control
.AllFields;
384
if (
Control
.VisibleItemCount == 0) {
393
int pageStart =
Control
.FirstVisibleItemIndex;
394
int pageSize =
Control
.VisibleItemCount;
395
ObjectListItemCollection items =
Control
.Items;
408
Style subCommandStyle =
Control
.CommandStyle;
409
Style labelStyle =
Control
.LabelStyle;
429
if (
Control
.VisibleItemCount == 0) {
434
int startIndex =
Control
.FirstVisibleItemIndex;
435
int pageSize =
Control
.VisibleItemCount;
436
ObjectListItemCollection items =
Control
.Items;
437
IObjectListFieldCollection allFields =
Control
.AllFields;
441
int labelFieldIndex =
Control
.LabelFieldIndex;
445
Style labelStyle =
Control
.LabelStyle;
458
writer.Write(
Control
.AllFields[labelFieldIndex].Title);
479
Style subCommandStyle =
Control
.CommandStyle;
521
String controlMT =
Control
.MoreText;
555
Style subCommandStyle =
Control
.CommandStyle;
580
String controlMT =
Control
.MoreText;
606
Style labelStyle =
Control
.LabelStyle;
608
writer.WriteEncodedText(
Control
.AllFields[fieldIndices[field]].Title);
638
return HasItemDetails() || (
Control
.Commands.Count > 0 && !OnlyHasDefaultCommand());
653
return
Control
.MobilePage.ActiveForm ==
Control
.Form &&
Control
.Visible &&
654
(
Control
.ViewMode == ObjectListViewMode.Commands ||
655
Control
.ViewMode == ObjectListViewMode.Details);