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