59 references to DataBinder
System.Web (45)
ModelBinding\ControlValueProvider.cs (1)
52
object value =
DataBinder
.Eval(foundControl, propertyName);
UI\Control.cs (1)
1538
object dataItem =
DataBinder
.GetDataItem(this, out foundDataItem);
UI\DataBinder.cs (8)
82
return
DataBinder
.Eval(container, expressionParts);
100
prop =
DataBinder
.GetPropertyValue(prop, expr);
103
prop =
DataBinder
.GetIndexedPropertyValue(prop, expr);
128
object value =
DataBinder
.Eval(container, expression);
187
object value =
DataBinder
.GetPropertyValue(container, propName);
261
collectionProp =
DataBinder
.GetPropertyValue(container, propName);
294
object value =
DataBinder
.GetIndexedPropertyValue(container, propName);
314
return
DataBinder
.GetDataItem(container, out foundDataItem);
UI\HtmlControls\HtmlSelect.cs (2)
653
item.Text =
DataBinder
.GetPropertyValue(dataItem,textField,null);
656
item.Value =
DataBinder
.GetPropertyValue(dataItem,valueField,null);
UI\TemplateControl.cs (2)
815
return
DataBinder
.Eval(Page.GetDataItem(), expression);
826
return
DataBinder
.Eval(Page.GetDataItem(), expression, format);
UI\WebControls\AdRotator.cs (1)
429
dict.Add(field,
DataBinder
.GetPropertyValue(enumerator.Current, field));
UI\WebControls\AutoGeneratedField.cs (1)
220
if (
DataBinder
.IsNull(data)) {
UI\WebControls\BoundColumn.cs (1)
116
if (!
DataBinder
.IsNull(dataValue)) {
UI\WebControls\BoundField.cs (3)
391
if (!
DataBinder
.IsNull(dataValue)) {
470
dataItem =
DataBinder
.GetDataItem(controlContainer);
491
data =
DataBinder
.Eval(dataItem, boundField);
UI\WebControls\ButtonColumn.cs (1)
198
if (!
DataBinder
.IsNull(dataTextValue)) {
UI\WebControls\ButtonField.cs (2)
177
if (!
DataBinder
.IsNull(dataTextValue)) {
282
dataItem =
DataBinder
.GetDataItem(controlContainer);
UI\WebControls\CheckBoxField.cs (1)
316
if (
DataBinder
.IsNull(data)) {
UI\WebControls\ControlParameter.cs (1)
175
object value =
DataBinder
.Eval(foundControl, propertyName);
UI\WebControls\DataGrid.cs (2)
1133
object keyValue =
DataBinder
.GetPropertyValue(firstDataItem, keyField);
1158
object keyValue =
DataBinder
.GetPropertyValue(dataItem, keyField);
UI\WebControls\DataList.cs (1)
895
object keyValue =
DataBinder
.GetPropertyValue(dataItem, keyField);
UI\WebControls\DetailsView.cs (1)
1698
object keyValue =
DataBinder
.GetPropertyValue(_dataItem, keyName);
UI\WebControls\FormView.cs (1)
1462
object keyValue =
DataBinder
.GetPropertyValue(_dataItem, keyName);
UI\WebControls\GridView.cs (4)
2155
object keyValue =
DataBinder
.GetPropertyValue(_firstDataRow, keyName);
2169
object suffixValue =
DataBinder
.GetPropertyValue(_firstDataRow, suffixName);
2215
object keyValue =
DataBinder
.GetPropertyValue(dataRow, keyName);
2229
object suffixValue =
DataBinder
.GetPropertyValue(dataRow, suffixName);
UI\WebControls\HyperLinkColumn.cs (2)
203
if (!
DataBinder
.IsNull(dataUrlValue)) {
222
if (!
DataBinder
.IsNull(dataTextValue)) {
UI\WebControls\HyperLinkField.cs (3)
243
if (dataUrlValues.Length > 0 && !
DataBinder
.IsNull(dataUrlValues[0])) {
261
if (!
DataBinder
.IsNull(dataTextValue)) {
328
dataItem =
DataBinder
.GetDataItem(controlContainer);
UI\WebControls\ImageField.cs (3)
328
if (!
DataBinder
.IsNull(dataValue)) {
358
if (!
DataBinder
.IsNull(value)) {
396
dataItem =
DataBinder
.GetDataItem(controlContainer);
UI\WebControls\ListControl.cs (2)
707
item.Text =
DataBinder
.GetPropertyValue(dataItem, textField, textFormat);
710
item.Value =
DataBinder
.GetPropertyValue(dataItem, valueField, null);
UI\WebControls\ProfileParameter.cs (1)
105
return
DataBinder
.Eval(context.Profile, PropertyName);
System.Web.DynamicData (9)
DynamicData\DynamicHyperLink.cs (1)
181
Text =
DataBinder
.GetPropertyValue(dataItem, DataField).ToString();
DynamicData\FieldTemplateUserControl.cs (1)
189
return
DataBinder
.GetPropertyValue(row, column.Name);
DynamicData\MetaForeignKeyColumn.cs (1)
189
object foreignKeyReference =
DataBinder
.GetPropertyValue(row, Name);
DynamicData\MetaTable.cs (2)
624
object displayObject =
DataBinder
.GetPropertyValue(row, DisplayColumn.Name);
665
result.Add(pkMember.Name,
DataBinder
.GetPropertyValue(row, pkMember.Name));
DynamicData\ModelProviders\SimpleColumnProvider.cs (1)
26
if (!System.Web.UI.
DataBinder
.IsBindableType(ColumnType)) {
DynamicData\ModelProviders\TableProvider.cs (1)
83
return System.Web.UI.
DataBinder
.GetPropertyValue(row, foreignKeyName);
DynamicData\Util\Misc.cs (2)
209
values[index++] =
DataBinder
.GetPropertyValue(entity, pkMember.Name);
226
Func<object, object> lambda = row =>
DataBinder
.GetPropertyValue(row, sortColumn.Name);
System.Web.Extensions (3)
UI\WebControls\ListView.cs (3)
1683
object keyValue =
DataBinder
.GetPropertyValue(o, keyName);
1827
object keyValue =
DataBinder
.GetPropertyValue(o, keyName);
1932
object suffixValue =
DataBinder
.GetPropertyValue(o, suffixName);
System.Web.Mobile (2)
UI\MobileControls\ListDataHelper.cs (2)
190
textField =
DataBinder
.GetPropertyValue(dataItem, _dataTextField, "{0}");
194
valueField =
DataBinder
.GetPropertyValue(dataItem, _dataValueField, "{0}");