47 references to Misc
System.Web.DynamicData (47)
DynamicData\ControlFilterExpression.cs (1)
74
Control control =
Misc
.FindControl(Owner, ControlID);
DynamicData\DataSourceUtil.cs (1)
51
type =
Misc
.RemoveNullableFromType(type);
DynamicData\DynamicControlParameter.cs (1)
39
Control control =
Misc
.FindControl((Control)dataSource, ControlId);
DynamicData\DynamicDataExtensions.cs (1)
35
SetMetaTableInternal(control, table,
Misc
.ConvertObjectToDictionary(defaultValues), new HttpContextWrapper(HttpContext.Current));
DynamicData\DynamicDataManager.cs (1)
120
Control targetControl =
Misc
.FindControl(this, controlReference.ControlID);
DynamicData\DynamicDataRouteHandler.cs (1)
70
long cacheKey =
Misc
.CombineHashCodes(table, route.ViewName ?? action);
DynamicData\DynamicField.cs (1)
273
Misc
.ExtractValuesFromBindableControls(dictionary, cell);
DynamicData\DynamicFilterExpression.cs (1)
30
var result =
Misc
.FindControl(control, ControlID) as IFilterExpressionProvider;
DynamicData\DynamicHyperLink.cs (2)
165
dataItem =
Misc
.GetRealDataItem(dataItem);
168
MetaTable table =
Misc
.GetTableFromTypeHierarchy(dataItem.GetType());
DynamicData\DynamicValidator.cs (1)
138
value =
Misc
.ChangeType(controlValue, columnType);
DynamicData\EntityTemplateFactory.cs (1)
57
long cacheKey =
Misc
.CombineHashCodes(table, mode, uiHint);
DynamicData\EntityTemplateUserControl.cs (1)
12
return
Misc
.FindContainerType(this);
DynamicData\FieldTemplateFactory.cs (1)
107
long cacheKey =
Misc
.CombineHashCodes(uiHint, column, mode);
DynamicData\FieldTemplateUserControl.cs (4)
64
return
Misc
.FindContainerType(this);
310
Misc
.FillListItemCollection(ForeignKeyColumn.ParentTable, listControl.Items);
318
foreach (DictionaryEntry entry in
Misc
.GetEnumNamesAndValues(enumType)) {
334
return
Misc
.GetUnderlyingTypeValueString(enumType, FieldValue);
DynamicData\FilterFactory.cs (1)
74
long cacheKey =
Misc
.CombineHashCodes(column, filterUIHint);
DynamicData\FilterUserControlBase.cs (2)
75
string[] keyStrings =
Misc
.ParseCommaSeparatedString(SelectedValue);
341
Misc
.FillListItemCollection(FilterTable, listControl.Items);
DynamicData\MetaChildrenColumn.cs (1)
114
routeValues.Add(fkColumn.ForeignKeyNames[i],
Misc
.SanitizeQueryStringValue(pkValues[i]));
DynamicData\MetaColumn.cs (1)
51
_type =
Misc
.RemoveNullableFromType(Provider.ColumnType);
DynamicData\MetaForeignKeyColumn.cs (3)
83
string[] fkValues =
Misc
.ParseCommaSeparatedString(value);
126
return
Misc
.PersistListToCommaSeparatedString(GetForeignKeyValues(row));
195
MetaTable rowTable =
Misc
.GetTableFromTypeHierarchy(rowType);
DynamicData\MetaTable.cs (8)
562
string value =
Misc
.GetRouteValue(key.Name);
566
queryStringKeys[key.Name] =
Misc
.ChangeType(value, key.ColumnType);
689
return
Misc
.PersistListToCommaSeparatedString(primaryKeyValues);
704
return
Misc
.GetKeyValues(PrimaryKeyColumns, row);
736
return
Misc
.BuildSortQueryable(query, this);
744
routeValues.Add(PrimaryKeyNames[i],
Misc
.SanitizeQueryStringValue(primaryKeyValues[i]));
862
if (
Misc
.IsColumnInDictionary(column, routeValues)) {
872
columnValues[column.Name] =
Misc
.ChangeType(routeValues[column.Name], column.ColumnType);
DynamicData\ModelProviders\DLinqColumnProvider.cs (1)
65
if (dbType == null || (memberType != typeof(string) &&
Misc
.RemoveNullableFromType(memberType) != typeof(char)))
DynamicData\ModelProviders\EFAssociationProvider.cs (1)
95
return
Misc
.CombineHashCodes(entityType.GetHashCode(), member.GetHashCode());
DynamicData\ModelProviders\SimpleColumnProvider.cs (1)
19
Nullable =
Misc
.TypeAllowsNull(ColumnType);
DynamicData\QueryableFilterUserControl.cs (5)
48
Misc
.FillListItemCollection(FilterTable, listControl.Items);
57
foreach (DictionaryEntry entry in
Misc
.GetEnumNamesAndValues(enumType)) {
106
return
Misc
.ChangeType<string>(value);
151
propertyExpression = Expression.Convert(propertyExpression,
Misc
.RemoveNullableFromType(propertyExpression.Type));
153
value =
Misc
.ChangeType(value, propertyExpression.Type);
DynamicData\RepeaterDataBoundAdapter.cs (1)
50
return
Misc
.FindControl(_repeater, DataSourceID) as IDataSource;
DynamicData\Util\DefaultValueMapping.cs (1)
29
return
Misc
.IsColumnInDictionary(column, _defaultValues);
DynamicData\Util\RouteParametersHelper.cs (3)
38
string value =
Misc
.GetRouteValue(name);
53
string value =
Misc
.GetRouteValue(name);
64
string value =
Misc
.GetRouteValue(name);