From: Sanja Gupta Date: Wed, 11 Aug 2004 11:36:04 +0000 (-0000) Subject: ChangeLog: Updated ChangeLog. X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=commitdiff_plain;h=2099b0b117e735b74b4e6cead9349b881e5362a6;p=mono.git ChangeLog: Updated ChangeLog. GridViewCancelEditEventArgs.cs: GridViewCancelEditEventHandler.cs: GridViewCommandEventArgs.cs: GridViewCommandEventHandler.cs: GridViewDeletedEventArgs.cs: GridViewDeletedEventHandler.cs: GridViewDeleteEventArgs.cs: GridViewDeleteEventHandler.cs: GridViewEditEventArgs.cs: GridViewEditEventHandler.cs: GridViewPageEventArgs.cs: GridViewPageEventHandler.cs: GridViewRowEventArgs.cs: GridViewRowEventHandler.cs: GridViewSelectEventArgs.cs: GridViewSelectEventHandler.cs: GridViewSortEventArgs.cs: GridViewSortEventHandler.cs: GridViewUpdatedEventArgs.cs: GridViewUpdatedEventHandler.cs: GridViewUpdateEventArgs.cs: GridViewUpdateEventHandler.cs: Added new delegates. svn path=/trunk/mcs/; revision=32199 --- diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog index 05359d0d73c..643ddc5bfa1 100644 --- a/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog +++ b/mcs/class/System.Web/System.Web.UI.WebControls/ChangeLog @@ -1,3 +1,28 @@ +2004-08-11 Sanjay Gupta + + * GridViewCancelEditEventArgs.cs: + * GridViewCancelEditEventHandler.cs: + * GridViewCommandEventArgs.cs: + * GridViewCommandEventHandler.cs: + * GridViewDeletedEventArgs.cs: + * GridViewDeletedEventHandler.cs: + * GridViewDeleteEventArgs.cs: + * GridViewDeleteEventHandler.cs: + * GridViewEditEventArgs.cs: + * GridViewEditEventHandler.cs: + * GridViewPageEventArgs.cs: + * GridViewPageEventHandler.cs: + * GridViewRowEventArgs.cs: + * GridViewRowEventHandler.cs: + * GridViewSelectEventArgs.cs: + * GridViewSelectEventHandler.cs: + * GridViewSortEventArgs.cs: + * GridViewSortEventHandler.cs: + * GridViewUpdatedEventArgs.cs: + * GridViewUpdatedEventHandler.cs: + * GridViewUpdateEventArgs.cs: + * GridViewUpdateEventHandler.cs: Added new delegates. + 2004-08-11 Sanjay Gupta * FormViewUpdatedEventArgs.cs: Corrected constructor. diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventArgs.cs new file mode 100644 index 00000000000..d08a681899e --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventArgs.cs @@ -0,0 +1,53 @@ +// +// System.Web.UI.WebControls.GridViewCancelEditEventArgs.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 GridViewCancelEditEventArgs : CancelEventArgs + { + private int rowIndex; + + public GridViewCancelEditEventArgs (int index) + { + this.rowsIndex = index; + } + + public int RowIndex { + get { return rowsIndex; } + } + + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventHandler.cs new file mode 100644 index 00000000000..1b3dfac8e63 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCancelEditEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewCancelEditEventHandler.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 GridViewCancelEditEventHandler (object sender, GridViewCancelEditEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventArgs.cs new file mode 100644 index 00000000000..dfb449cdf92 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventArgs.cs @@ -0,0 +1,61 @@ +// +// System.Web.UI.WebControls.GridViewCommandEventArgs.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 GridViewCommandEventArgs : CommandEventArgs + { + private object source; + private CommandEventArgs arguments; + private GridViewRow row; + + public GridViewCommandEventArgs (object source, CommandEventArgs arguments) + { + this.source = source; + this.arguments = arguments; + this.row = null; + } + + public GridViewCommandEventArgs (GridViewRow row, object source, CommandEventArgs arguments) + { + this.source = source; + this.arguments = arguments; + this.row = row; + } + + public object CommandSource { + get { return source; } + } + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventHandler.cs new file mode 100644 index 00000000000..cd1f42e53fa --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewCommandEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewCommandEventHandler.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 GridViewCommandEventHandler (object sender, GridViewCommandEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeleteEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeleteEventArgs.cs new file mode 100644 index 00000000000..3f80ba70691 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeleteEventArgs.cs @@ -0,0 +1,63 @@ +// +// System.Web.UI.WebControls.GridViewDeleteEventArgs.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 GridViewDeleteEventArgs : CancelEventArgs + { + private int rowIndex; + private Exception e; + private bool exceptionHandled; + + public GridViewDeleteEventArgs (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/GridViewDeleteEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeleteEventHandler.cs new file mode 100644 index 00000000000..4d8b3cca7ae --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeleteEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewDeleteEventHandler.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 GridViewDeleteEventHandler (object sender, GridViewDeleteEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeletedEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeletedEventArgs.cs new file mode 100644 index 00000000000..ec9d1723165 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeletedEventArgs.cs @@ -0,0 +1,73 @@ +// +// System.Web.UI.WebControls.GridViewDeletedEventArgs.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 GridViewDeletedEventArgs : EventArgs + { + private int rowsAffected; + private Exception e; + private bool exceptionHandled; + + public GridViewDeletedEventArgs (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/GridViewDeletedEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeletedEventHandler.cs new file mode 100644 index 00000000000..15329e9641e --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewDeletedEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewDeletedEventHandler.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 GridViewDeletedEventHandler (object sender, GridViewDeletedEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventArgs.cs new file mode 100644 index 00000000000..8c96d20ad98 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventArgs.cs @@ -0,0 +1,53 @@ +// +// System.Web.UI.WebControls.GridViewEditEventArgs.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 GridViewEditEventArgs : CancelEventArgs + { + private int index; + + public GridViewEditEventArgs (int editIndex) + { + this.index = editIndex; + } + + public int NewEditIndex { + get { return index; } + set { index = value; } + } + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventHandler.cs new file mode 100644 index 00000000000..c2411a72f25 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewEditEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewEditEventHandler.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 GridViewEditEventHandler (object sender, GridViewEditEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewPageEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewPageEventArgs.cs new file mode 100644 index 00000000000..cbf8ddf2aef --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewPageEventArgs.cs @@ -0,0 +1,53 @@ +// +// System.Web.UI.WebControls.GridViewPageEventArgs.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 GridViewPageEventArgs : CancelEventArgs + { + private int pageIndex; + + public GridViewPageEventArgs (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/GridViewPageEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewPageEventHandler.cs new file mode 100644 index 00000000000..215df100fb5 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewPageEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewPageEventHandler.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 GridViewPageEventHandler (object sender, GridViewPageEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventArgs.cs new file mode 100644 index 00000000000..ab219faac11 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventArgs.cs @@ -0,0 +1,50 @@ +// +// System.Web.UI.WebControls.GridViewRowEventArgs.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 GridViewRowEventArgs : EventArgs + { + private GridViewRow row; + + public GridViewRowEventArgs (GridViewRow row ) + { + this.row = row; + } + + public GridViewRow Row { + get { return row; } + } + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventHandler.cs new file mode 100644 index 00000000000..abc9affdd01 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewRowEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewRowEventHandler.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 GridViewRowEventHandler (object sender, GridViewRowEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventArgs.cs new file mode 100644 index 00000000000..d477b911a84 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventArgs.cs @@ -0,0 +1,53 @@ +// +// System.Web.UI.WebControls.GridViewSelectEventArgs.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 GridViewSelectEventArgs : CancelEventArgs + { + private int selectedIndex; + + public GridViewSelectEventArgs (int selectedIndex ) + { + this.selectedIndex = selectedIndex; + } + + public int NewSelectedIndex { + get { return selectedIndex; } + set { selectedIndex = value;} + } + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventHandler.cs new file mode 100644 index 00000000000..fe3592600c1 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSelectEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewSelectEventHandler.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 GridViewSelectEventHandler (object sender, GridViewSelectEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventArgs.cs new file mode 100644 index 00000000000..7bbd3c17cb2 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventArgs.cs @@ -0,0 +1,53 @@ +// +// System.Web.UI.WebControls.GridViewSortEventArgs.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 GridViewSortEventArgs : CancelEventArgs + { + private strign sortExpression; + + public GridViewSortEventArgs (string expression) + { + this.sortExpression = expression; + } + + public string SortExpression { + get { return sortExpression; } + set { sortExpression = value;} + } + } +} + +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventHandler.cs new file mode 100644 index 00000000000..8a0f490a00c --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewSortEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewSortEventHandler.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 GridViewSortEventHandler (object sender, GridViewSortEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdateEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdateEventArgs.cs new file mode 100644 index 00000000000..c5d6bd90718 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdateEventArgs.cs @@ -0,0 +1,65 @@ +// +// System.Web.UI.WebControls.GridViewUpdateEventArgs.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 GridViewUpdateEventArgs : CancelEventArgs + { + private int rowIndex; + + public GridViewUpdateEventArgs (int rowIndex) + { + this.rowIndex = rowIndex; + } + + public int RowIndex { + get { return rowIndex; } + } + + 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/GridViewUpdateEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdateEventHandler.cs new file mode 100644 index 00000000000..c1ed8332e1b --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdateEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebContrls.GridViewUpdateEventHandler.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 GridViewUpdateEventHandler (object sender, GridViewUpdateEventArgs e); +} +#endif diff --git a/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdatedEventArgs.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdatedEventArgs.cs new file mode 100644 index 00000000000..3fe22480620 --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdatedEventArgs.cs @@ -0,0 +1,84 @@ +// +// System.Web.UI.WebControls.GridViewUpdatedEventArgs.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 GridViewUpdatedEventArgs : EventArgs + { + private int rowsAffected; + private Exception e; + private bool exceptionHandled; + private bool keepEditMode; + + public GridViewUpdatedEventArgs (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/GridViewUpdatedEventHandler.cs b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdatedEventHandler.cs new file mode 100644 index 00000000000..bf95a34a41f --- /dev/null +++ b/mcs/class/System.Web/System.Web.UI.WebControls/GridViewUpdatedEventHandler.cs @@ -0,0 +1,34 @@ +// +// System.Web.UI.WebControls.GridViewUpdatedEventHandler.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 GridViewUpdatedEventHandler (object sender, GridViewUpdatedEventArgs e); +} +#endif