ChangeLog: Update ChangeLog.
authorSanja Gupta <sanjay@mono-cvs.ximian.com>
Tue, 10 Aug 2004 12:45:35 +0000 (12:45 -0000)
committerSanja Gupta <sanjay@mono-cvs.ximian.com>
Tue, 10 Aug 2004 12:45:35 +0000 (12:45 -0000)
DetailsViewCommandEventArgs.cs:
DetailsViewCommandEventHandler.cs:
DetailsViewDeletedEventArgs.cs:
DetailsViewDeletedEventHandler.cs:
DetailsViewDeleteEventArgs.cs:
DetailsViewDeleteEventHandler.cs:
DetailsViewInsertedEventArgs.cs:
DetailsViewInsertedEventHandler.cs:
DetailsViewInsertEventArgs.cs:
DetailsViewInsertEventHandler.cs:
DetailsViewModeEventArgs.cs:
DetailsViewModeEventHandler.cs:
DetailsViewPageEventArgs.cs:
DetailsViewPageEventHandler.cs:
DetailsViewUpdatedEventArgs.cs:
DetailsViewUpdatedEventHandler.cs:
DetailsViewUpdateEventArgs.cs:
DetailsViewUpdateEventHandler.cs: Added new delegates.

svn path=/trunk/mcs/; revision=32138

19 files changed:
mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventHandler.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventArgs.cs [new file with mode: 0644]
mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventHandler.cs [new file with mode: 0644]

index 3e64f01ab5643b5435f160a1ed30dc52e2d3a771..41e28811dda7c76475e3b2030f22af8b5f59ded7 100644 (file)
@@ -1,3 +1,24 @@
+2004-08-10  Sanjay Gupta <gsanjay@novell.com>
+
+       * DetailsViewCommandEventArgs.cs:
+       * DetailsViewCommandEventHandler.cs:
+       * DetailsViewDeletedEventArgs.cs:
+       * DetailsViewDeletedEventHandler.cs:
+       * DetailsViewDeleteEventArgs.cs:
+       * DetailsViewDeleteEventHandler.cs:
+       * DetailsViewInsertedEventArgs.cs:
+       * DetailsViewInsertedEventHandler.cs:
+       * DetailsViewInsertEventArgs.cs:
+       * DetailsViewInsertEventHandler.cs:
+       * DetailsViewModeEventArgs.cs:
+       * DetailsViewModeEventHandler.cs:
+       * DetailsViewPageEventArgs.cs:
+       * DetailsViewPageEventHandler.cs:
+       * DetailsViewUpdatedEventArgs.cs:
+       * DetailsViewUpdatedEventHandler.cs:
+       * DetailsViewUpdateEventArgs.cs:
+       * DetailsViewUpdateEventHandler.cs: Added new delegates.
+
 2004-08-09  Sanjay Gupta <gsanjay@novell.com>
 
        * AuthenticateEventArgs.cs:
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventArgs.cs
new file mode 100644 (file)
index 0000000..4b050e0
--- /dev/null
@@ -0,0 +1,52 @@
+//
+// System.Web.UI.WebControls.DetailsViewCommandEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewCommandEventArgs : CommandEventArgs
+       {
+               private object source;
+               private CommandEventArgs arguments;
+               
+               public DetailsViewCommandEventArgs (object source, CommandEventArgs arguments)
+               {
+                       this.source = source;
+                       this.arguments = arguments;
+               }
+               
+               public object CommandSource {
+                       get { return source; }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewCommandEventHandler.cs
new file mode 100644 (file)
index 0000000..8d5a960
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewCommandEventHandler.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewCommandEventHandler (object sender, DetailsViewCommandEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventArgs.cs
new file mode 100644 (file)
index 0000000..b32a75c
--- /dev/null
@@ -0,0 +1,63 @@
+//
+// System.Web.UI.WebControls.DetailsViewDeleteEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+using System.ComponentModel;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewDeleteEventArgs : CancelEventArgs
+       {
+               private int rowIndex;
+               private Exception e;
+               private bool exceptionHandled;
+               
+               public DetailsViewDeleteEventArgs (int index)
+               {
+                       this.rowsIndex = index;
+               }
+               
+               public int RowIndex {
+                       get { return rowsIndex; }
+               }
+
+               public IOrderedDictionary Keys {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary Values {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeleteEventHandler.cs
new file mode 100644 (file)
index 0000000..fca3428
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewDeleteEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewDeleteEventHandler (object sender, DetailsViewDeleteEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventArgs.cs
new file mode 100644 (file)
index 0000000..9c20abf
--- /dev/null
@@ -0,0 +1,73 @@
+//
+// System.Web.UI.WebControls.DetailsViewDeletedEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewDeletedEventArgs : EventArgs
+       {
+               private int rowsAffected;
+               private Exception e;
+               private bool exceptionHandled;
+               
+               public DetailsViewDeletedEventArgs (int affectedRows, Exception e)
+               {
+                       this.rowsAffected = affectedRows;
+                       this.e = e;
+                       this.exceptionHandled = false;
+               }
+               
+               public int AffectedRows {
+                       get { return rowsAffected; }
+               }
+
+               public Exception Exception {
+                       get { return e };
+               }
+
+               public bool ExceptionHandled {
+                       get { return exceptionHandled; }
+                       set { exceptionHandled = value; }
+               }
+       
+               public IOrderedDictionary Keys {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary Values {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewDeletedEventHandler.cs
new file mode 100644 (file)
index 0000000..d0b8c2b
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewDeletedEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewDeletedEventHandler (object sender, DetailsViewDeletedEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventArgs.cs
new file mode 100644 (file)
index 0000000..103b858
--- /dev/null
@@ -0,0 +1,57 @@
+//
+// System.Web.UI.WebControls.DetailsViewInsertEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+using System.ComponentModel;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewInsertEventArgs : CancelEventArgs
+       {
+               private object argument;
+               
+               public DetailsViewInsertEventArgs (object argument)
+               {
+                       this.argument = argument;
+               }
+               
+               public object CommandArgument {
+                       get { return argument; }
+               }
+
+               public IOrderedDictionary Values {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertEventHandler.cs
new file mode 100644 (file)
index 0000000..6d34a4b
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewInsertEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewInsertEventHandler (object sender, DetailsViewInsertEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventArgs.cs
new file mode 100644 (file)
index 0000000..588d0aa
--- /dev/null
@@ -0,0 +1,76 @@
+//
+// System.Web.UI.WebControls.DetailsViewInsertedEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewInsertedEventArgs : EventArgs
+       {
+               private int rowsAffected;
+               private Exception e;
+               private bool exceptionHandled;
+               private bool keepInsertedMode;
+               
+               public DetailsViewInsertedEventArgs (int affectedRows, Exception e)
+               {
+                       this.rowsAffected = affectedRows;
+                       this.e = e;
+                       this.exceptionHandled = false;
+                       this.keepInsertedMode = false;
+               }
+               
+               public int AffectedRows {
+                       get { return rowsAffected; }
+               }
+
+               public Exception Exception {
+                       get { return e };
+               }
+
+               public bool ExceptionHandled {
+                       get { return exceptionHandled; }
+                       set { exceptionHandled = value; }
+               }
+       
+               public bool KeepInInsertMode {
+                       get { return keepInsertedMode; }
+                       set { keepInsertedMode = value; }
+               }
+
+               public IOrderedDictionary Values {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewInsertedEventHandler.cs
new file mode 100644 (file)
index 0000000..5bed286
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewInsertedEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewInsertedEventHandler (object sender, DetailsViewInsertedEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventArgs.cs
new file mode 100644 (file)
index 0000000..6453c9c
--- /dev/null
@@ -0,0 +1,59 @@
+//
+// System.Web.UI.WebControls.DetailsViewModeEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.ComponentModel;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewModeEventArgs : CancelEventArgs
+       {
+               private DetaislViewMode mode;
+               private bool cancelEdit;
+               
+               public DetailsViewModeEventArgs (DetaislViewMode mode, bool cancelingEdit)
+               {
+                       this.mode = mode;
+                       this.cancelEdit = cancelingEdit;
+               }
+               
+               public bool CancelingEdit {
+                       get { return cancelEdit; }
+               }
+
+               public DetaislViewMode NewMode {
+                       get { return mode; }
+                       set { mode = value;}
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewModeEventHandler.cs
new file mode 100644 (file)
index 0000000..f65c391
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewModeEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewModeEventHandler (object sender, DetailsViewModeEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventArgs.cs
new file mode 100644 (file)
index 0000000..cb0b3d5
--- /dev/null
@@ -0,0 +1,53 @@
+//
+// System.Web.UI.WebControls.DetailsViewPageEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.ComponentModel;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewPageEventArgs : CancelEventArgs
+       {
+               private int pageIndex;
+               
+               public DetailsViewPageEventArgs (int pageIndex )
+               {
+                       this.pageIndex = pageIndex; 
+               }
+               
+               public int NewPageIndex {
+                       get { return pageIndex; }
+                       set { pageIndex = value;}
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewPageEventHandler.cs
new file mode 100644 (file)
index 0000000..7c63cb9
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewPageEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewPageEventHandler (object sender, DetailsViewPageEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventArgs.cs
new file mode 100644 (file)
index 0000000..f4029ef
--- /dev/null
@@ -0,0 +1,65 @@
+//
+// System.Web.UI.WebControls.DetailsViewUpdateEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+using System.ComponentModel;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewUpdateEventArgs : CancelEventArgs
+       {
+               private object argument;
+               
+               public DetailsViewUpdateEventArgs (object argument)
+               {
+                       this.argument = argument;
+               }
+               
+               public object CommandArgument {
+                       get { return argument; }
+               }
+
+               public IOrderedDictionary Keys {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary NewValues {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary OldValues {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdateEventHandler.cs
new file mode 100644 (file)
index 0000000..707f015
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewUpdateEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewUpdateEventHandler (object sender, DetailsViewUpdateEventArgs e);
+}
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventArgs.cs
new file mode 100644 (file)
index 0000000..3d3c882
--- /dev/null
@@ -0,0 +1,84 @@
+//
+// System.Web.UI.WebControls.DetailsViewUpdatedEventArgs.cs
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+
+#if NET_2_0
+
+using System.Collections.Specialized;
+
+namespace System.Web.UI.WebControls
+{
+       public class DetailsViewUpdatedEventArgs : EventArgs
+       {
+               private int rowsAffected;
+               private Exception e;
+               private bool exceptionHandled;
+               private bool keepEditMode;
+               
+               public DetailsViewUpdatedEventArgs (int affectedRows, Exception e)
+               {
+                       this.rowsAffected = affectedRows;
+                       this.e = e;
+                       this.exceptionHandled = false;
+                       this.keepEditMode = false;
+               }
+               
+               public int AffectedRows {
+                       get { return rowsAffected; }
+               }
+
+               public Exception Exception {
+                       get { return e };
+               }
+
+               public bool ExceptionHandled {
+                       get { return exceptionHandled; }
+                       set { exceptionHandled = value; }
+               }
+       
+               public bool KeepInEdittMode {
+                       get { return keepEditMode; }
+                       set { keepEditMode = value; }
+               }
+
+               public IOrderedDictionary Keys {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary NewValues {
+                       get { return new NotImplementedException(); }
+               }
+
+               public IOrderedDictionary OldValues {
+                       get { return new NotImplementedException(); }
+               }
+       }
+}
+
+#endif
diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/DetailsViewUpdatedEventHandler.cs
new file mode 100644 (file)
index 0000000..07c8a40
--- /dev/null
@@ -0,0 +1,34 @@
+//
+// System.Web.UI.WebControls.DetailsViewUpdatedEventHandler.cs;
+//
+// Authors:
+//   Sanjay Gupta (gsanjay@novell.com)
+//
+// (C) 2004 Novell, Inc (http://www.novell.com)
+//
+
+//
+// Permission is hereby granted, free of charge, to any person obtaining
+// a copy of this software and associated documentation files (the
+// "Software"), to deal in the Software without restriction, including
+// without limitation the rights to use, copy, modify, merge, publish,
+// distribute, sublicense, and/or sell copies of the Software, and to
+// permit persons to whom the Software is furnished to do so, subject to
+// the following conditions:
+// 
+// The above copyright notice and this permission notice shall be
+// included in all copies or substantial portions of the Software.
+// 
+// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
+// EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
+// NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
+// LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
+// OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
+// WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+//
+#if NET_2_0
+namespace System.Web.UI.WebControls {
+       public sealed delegate void DetailsViewUpdatedEventHandler (object sender, DetailsViewUpdatedEventArgs e);
+}
+#endif