Imported Upstream version 4.0.0~alpha1

Former-commit-id: 806294f5ded97629b74c85c09952f2a74fe182d9
This commit is contained in:
Jo Shields
2015-04-07 09:35:12 +01:00
parent 283343f570
commit 3c1f479b9d
22469 changed files with 2931443 additions and 869343 deletions

View File

@ -43,15 +43,11 @@ namespace System.Web.UI.WebControls
[DesignerAttribute ("System.Web.UI.Design.WebControls.DetailsViewDesigner, " + Consts.AssemblySystem_Design, "System.ComponentModel.Design.IDesigner")]
[ControlValuePropertyAttribute ("SelectedValue")]
[DefaultEventAttribute ("PageIndexChanging")]
#if NET_4_0
[DataKeyProperty ("DataKey")]
#endif
[AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
[AspNetHostingPermissionAttribute (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
public class DetailsView: CompositeDataBoundControl, ICallbackEventHandler, ICallbackContainer, IDataItemContainer, INamingContainer, IPostBackEventHandler, IPostBackContainer
#if NET_4_0
, IDataBoundItemControl, IDataBoundControl, IFieldControl
#endif
{
object dataItem;
@ -300,7 +296,6 @@ namespace System.Web.UI.WebControls
throw new HttpException (String.Format (unhandledEventExceptionMessage, ID, "ItemUpdating"));
}
#if NET_4_0
DataBoundControlMode IDataBoundItemControl.Mode {
get {
switch (CurrentMode) {
@ -332,7 +327,6 @@ namespace System.Web.UI.WebControls
throw new NotImplementedException ();
}
}
#endif
[WebCategoryAttribute ("Paging")]
[DefaultValueAttribute (false)]
public virtual bool AllowPaging {
@ -1600,9 +1594,7 @@ namespace System.Web.UI.WebControls
break;
}
}
#if NET_4_0
public
#endif
void SetPageIndex (int newIndex)
{
DetailsViewPageEventArgs args = new DetailsViewPageEventArgs (newIndex);