UI\WebControls\AdRotator.cs (8)
297throw new HttpException(SR.GetString(SR.AdRotator_only_one_datasource, ID));
314string id = adRotator.ID;
360ID, sampleItem.GetType()));
473throw new HttpException(SR.GetString(SR.AdRotator_cant_open_file, ID, e.Message));
476throw new HttpException(SR.GetString(SR.AdRotator_cant_open_file_no_permission, ID));
584SR.GetString(SR.AdRotator_parse_error, ID, e.Message), e);
589SR.GetString(SR.AdRotator_no_advertisements, ID, AdvertisementFile));
771string id = ID;
UI\WebControls\DetailsView.cs (15)
1551throw new HttpException(SR.GetString(SR.DataBoundControl_NullView, ID));
1610throw new HttpException(SR.GetString(SR.DetailsView_DataSourceMustBeCollection, ID));
2137return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
2312throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2451throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2497throw new HttpException(SR.GetString(SR.DetailsViewFormView_ControlMustBeInInsertMode, "DetailsView", ID));
2506throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2617throw new HttpException(SR.GetString(SR.DetailsViewFormView_ControlMustBeInEditMode, "DetailsView", ID));
2630throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
3023throw new HttpException(SR.GetString(SR.DetailsView_UnhandledEvent, ID, "ItemDeleting"));
3049throw new HttpException(SR.GetString(SR.DetailsView_UnhandledEvent, ID, "ItemInserting"));
3075throw new HttpException(SR.GetString(SR.DetailsView_UnhandledEvent, ID, "ItemUpdating"));
3101throw new HttpException(SR.GetString(SR.DetailsView_UnhandledEvent, ID, "ModeChanging"));
3126throw new HttpException(SR.GetString(SR.DetailsView_UnhandledEvent, ID, "PageIndexChanging"));
3591throw new InvalidOperationException(SR.GetString(SR.CannotUseParentPostBackWhenValidating, this.GetType().Name, ID));
UI\WebControls\FormView.cs (16)
1326throw new HttpException(SR.GetString(SR.DataBoundControl_NullView, ID));
1380throw new HttpException(SR.GetString(SR.FormView_DataSourceMustBeCollection, ID));
1832return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
1942throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2080throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2128throw new HttpException(SR.GetString(SR.DetailsViewFormView_ControlMustBeInInsertMode, "FormView", ID));
2137throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2247throw new HttpException(SR.GetString(SR.DetailsViewFormView_ControlMustBeInEditMode, "FormView", ID));
2260throw new HttpException(SR.GetString(SR.View_DataSourceReturnedNullView, ID));
2592throw new HttpException(SR.GetString(SR.FormView_UnhandledEvent, ID, "PageIndexChanging"));
2659throw new HttpException(SR.GetString(SR.FormView_UnhandledEvent, ID, "ItemDeleting"));
2685throw new HttpException(SR.GetString(SR.FormView_UnhandledEvent, ID, "ItemInserting"));
2711throw new HttpException(SR.GetString(SR.FormView_UnhandledEvent, ID, "ItemUpdating"));
2737throw new HttpException(SR.GetString(SR.FormView_UnhandledEvent, ID, "ModeChanging"));
2866propertyName, GetType().Name, ID));
3031throw new InvalidOperationException(SR.GetString(SR.CannotUseParentPostBackWhenValidating, this.GetType().Name, ID));
UI\WebControls\GridView.cs (15)
1199throw new InvalidOperationException(SR.GetString(SR.GridView_DataKeyNamesMustBeSpecified, ID));
1934throw new HttpException(SR.GetString(SR.DataBoundControl_NullView, ID));
1986throw new HttpException(SR.GetString(SR.GridView_Missing_VirtualItemCount, ID));
2319return new ChildTable(String.IsNullOrEmpty(ID) ? null : ClientID);
2846throw new HttpException(SR.GetString(SR.GridView_DataSourceReturnedNullView, ID));
3046throw new HttpException(SR.GetString(SR.GridView_DataSourceReturnedNullView, ID));
3170throw new HttpException(SR.GetString(SR.GridView_DataSourceReturnedNullView, ID));
3195throw new HttpException(SR.GetString(SR.GridView_DataSourceReturnedNullView, ID));
3696throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "PageIndexChanging"));
3752throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "RowCancelingEdit"));
3803throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "RowDeleting"));
3820throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "RowEditing"));
3845throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "RowUpdating"));
3892throw new HttpException(SR.GetString(SR.GridView_UnhandledEvent, ID, "Sorting"));
4449throw new InvalidOperationException(SR.GetString(SR.CannotUseParentPostBackWhenValidating, this.GetType().Name, ID));
UI\WebControls\ListControl.cs (7)
305throw new ArgumentOutOfRangeException("value", SR.GetString(SR.ListControl_SelectionOutOfRange, ID, "SelectedIndex"));
319throw new ArgumentOutOfRangeException("value", SR.GetString(SR.ListControl_SelectionOutOfRange, ID, "SelectedIndex"));
403throw new ArgumentOutOfRangeException("value", SR.GetString(SR.ListControl_SelectionOutOfRange, ID, "SelectedValue"));
599throw new InvalidOperationException(SR.GetString(SR.DataControl_ViewNotFound, ID));
733throw new ArgumentOutOfRangeException("value", SR.GetString(SR.ListControl_SelectionOutOfRange, ID, "SelectedValue"));
853if (String.IsNullOrEmpty(owner.ID)) {
859controlToRepeat.ID = owner.ID + "_" + idSuffix;
UI\WebControls\ObjectDataSourceView.cs (26)
695throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_DataObjectPropertyNotFound, propName, _owner.ID));
698throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_DataObjectPropertyReadOnly, propName, _owner.ID));
784throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_FilterNotSupported, _owner.ID));
788throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_SortNotSupportedOnIEnumerable, _owner.ID));
836throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_DeleteNotSupported, _owner.ID));
856throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_delete), _owner.ID, "oldValues"));
884throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_delete), _owner.ID, "oldValues"));
914throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_InsertNotSupported, _owner.ID));
929throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_InsertRequiresValues, _owner.ID));
980throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_SelectNotSupported, _owner.ID));
1015throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_FilterNotSupported, _owner.ID));
1081throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_MissingPagingSettings, _owner.ID));
1141throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_FilterNotSupported, _owner.ID));
1147throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_CacheNotSupportedOnSortedDataView, _owner.ID));
1183throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_CacheNotSupportedOnIDataReader, _owner.ID));
1197throw new NotSupportedException(SR.GetString(SR.ObjectDataSourceView_UpdateNotSupported, _owner.ID));
1213throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_update), _owner.ID, "oldValues"));
1230throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_update), _owner.ID, "oldValues"));
1404throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_MethodNotFoundForDataObject, _owner.ID, methodName, dataObjectType.FullName));
1437throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_NoOldValuesParams, _owner.ID));
1554throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_MultipleOverloads, _owner.ID));
1559throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_MethodNotFoundNoParams, _owner.ID, methodName));
1565throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_MethodNotFoundWithParams, _owner.ID, methodName, paramString));
1601throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_TypeNotSpecified, _owner.ID));
1609throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_TypeNotFound, _owner.ID));
2035throw new InvalidOperationException(SR.GetString(SR.ObjectDataSourceView_DataObjectTypeNotFound, _owner.ID));
UI\WebControls\SqlDataSourceView.cs (18)
700return new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_MissingParameters, operation, _owner.ID, parameterNames));
794throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_DeleteNotSupported, _owner.ID));
800throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID));
810throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_delete), _owner.ID, "values"));
837throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_InsertNotSupported, _owner.ID));
843throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID));
882throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID));
907throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_CacheNotSupported, _owner.ID));
957throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_SortParameterRequiresStoredProcedure, _owner.ID));
1017throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CommandNotificationNotSupported, _owner.ID));
1086throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_FilterNotSupported, _owner.ID));
1090throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_SortNotSupported, _owner.ID));
1138throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_UpdateNotSupported, _owner.ID));
1144throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_CouldNotCreateConnection, _owner.ID));
1155throw new InvalidOperationException(SR.GetString(SR.SqlDataSourceView_Pessimistic, SR.GetString(SR.DataSourceView_update), _owner.ID, "oldValues"));
1428throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoPaging, _owner.ID));
1432throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoSorting, _owner.ID));
1436throw new NotSupportedException(SR.GetString(SR.SqlDataSourceView_NoRowCount, _owner.ID));
UI\WebControls\Wizard.cs (5)
2483throw new InvalidOperationException(SR.GetString(SR.Wizard_Header_Placeholder_Must_Be_Specified_For_HeaderText, Owner.ID, HeaderPlaceholderId));
2510throw new InvalidOperationException(SR.GetString(SR.Wizard_Navigation_Placeholder_Must_Be_Specified, Owner.ID, NavigationPlaceholderId));
2524throw new InvalidOperationException(SR.GetString(SR.Wizard_Header_Placeholder_Must_Be_Specified_For_HeaderTemplate, Owner.ID, HeaderPlaceholderId));
2549throw new InvalidOperationException(SR.GetString(SR.Wizard_Sidebar_Placeholder_Must_Be_Specified, Owner.ID, SideBarPlaceholderId));
2564throw new InvalidOperationException(SR.GetString(SR.Wizard_Step_Placeholder_Must_Be_Specified, Owner.ID, WizardStepPlaceholderId));
UI\WebControls\XmlDataSource.cs (8)
168throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_CannotChangeWhileLoading, "Data", ID));
196throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_CannotChangeWhileLoading, "DataFile", ID));
259throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_CannotChangeWhileLoading, "Transform", ID));
303throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_CannotChangeWhileLoading, "TransformFile", ID));
343throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_CannotChangeWhileLoading, "XPath", ID));
453throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_NoWebPermission, uri.PathAndQuery, ID));
470throw new NotSupportedException(SR.GetString(SR.XmlDataSource_DesignTimeRelativePathsNotSupported, ID));
665throw new InvalidOperationException(SR.GetString(SR.XmlDataSource_SaveNotAllowed, ID));
UI\WebParts\WebPartManager.cs (30)
1029Internals.SetZoneID(webPart, zone.ID);
1252throw new InvalidOperationException(SR.GetString(SR.WebPartManager_CantConnectClosed, provider.ID));
1261throw new InvalidOperationException(SR.GetString(SR.WebPartManager_CantConnectClosed, consumer.ID));
1270throw new InvalidOperationException(SR.GetString(SR.WebPartConnection_DisabledConnectionPoint, providerConnectionPoint.ID, provider.ID));
1279throw new InvalidOperationException(SR.GetString(SR.WebPartConnection_DisabledConnectionPoint, consumerConnectionPoint.ID, consumer.ID));
1291throw new InvalidOperationException(SR.GetString(SR.WebPartConnection_Duplicate, providerConnectionPoint.ID, provider.ID));
1304throw new InvalidOperationException(SR.GetString(SR.WebPartConnection_Duplicate, consumerConnectionPoint.ID, consumer.ID));
1317new string[] {providerConnectionPoint.DisplayName, provider.ID,
1318consumerConnectionPoint.DisplayName, consumer.ID}));
1329consumerConnectionPoint.DisplayName, consumer.ID,
1330providerConnectionPoint.DisplayName, provider.ID}));
1355providerConnectionPoint.DisplayName, provider.ID, transformerType.FullName));
1364transformerType.FullName, consumerConnectionPoint.DisplayName, consumer.ID));
1375consumerConnectionPoint.DisplayName, consumer.ID));
1703connection.ProviderID = providerControl.ID;
1704connection.ConsumerID = consumerControl.ID;
2305SortedList parts = (SortedList)_partsForZone[zone.ID];
2421HttpUtility.UrlEncode(webPart.ID) +
3207string webPartID = webPart.ID;
3209string personalizedAuthorizationFilter = Personalization.GetAuthorizationFilter(webPart.ID);
3913string zoneID = zone.ID;
4006myState[selectedWebPartIndex] = SelectedWebPart.ID;
4030webPartState[4*i] = webPart.ID;
4079id = childControl.ID;
4090id = webPart.ID;
4370string partID = webPart.ID;
4385string childControlID = genericWebPart.ChildControl.ID;
4413string zoneID = zone.ID;
4448_manager._partAndChildControlIDs.Remove(webPart.ID);
4453_manager._partAndChildControlIDs.Remove(genericWebPart.ChildControl.ID);
UI\MobileControls\ValidationSummary.cs (1)
187ID));