Author: igorz Date: 2007-05-28 09:03:30 -0400 (Mon, 28 May 2007) New Revision: 78054
Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/AsyncPostBackTrigger.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ExtenderControl.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/PostBackTrigger.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptBehaviorDescriptor.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptComponentDescriptor.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControl.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControlDescriptor.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManagerProxy.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/TargetControlTypeAttribute.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/Timer.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdatePanelControlTrigger.cs trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdateProgress.cs Log: Initial drop for System.Web.Extensions assembly Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/AsyncPostBackTrigger.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/AsyncPostBackTrigger.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/AsyncPostBackTrigger.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,75 @@ +// +// AsyncPostBackTrigger.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + public class AsyncPostBackTrigger : UpdatePanelControlTrigger + { + public string ControlID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [DefaultValue ("")] + [Category ("Behavior")] + public string EventName { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected internal override bool HasTriggered () { + throw new NotImplementedException (); + } + + protected internal override void Initialize () { + throw new NotImplementedException (); + } + + public void OnEvent (object sender, EventArgs e) { + throw new NotImplementedException (); + } + + public override string ToString () { + throw new NotImplementedException (); + } + } +} \ No newline at end of file Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/AsyncPostBackTrigger.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ExtenderControl.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ExtenderControl.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ExtenderControl.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,92 @@ +// +// ExtenderControl.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + [DefaultProperty ("TargetControlID")] + [ParseChildren (true)] + [NonVisualControl] + [PersistChildren (false)] + public abstract class ExtenderControl : Control, IExtenderControl + { + protected ExtenderControl () { } + + [DefaultValue ("")] + [IDReferenceProperty] + [Category ("Behavior")] + public string TargetControlID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [Browsable (false)] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] + [EditorBrowsable (EditorBrowsableState.Never)] + public override bool Visible { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected abstract IEnumerable<ScriptDescriptor> GetScriptDescriptors (Control targetControl); + + protected abstract IEnumerable<ScriptReference> GetScriptReferences (); + + protected override void OnPreRender (EventArgs e) { + base.OnPreRender (e); + } + + protected override void Render (HtmlTextWriter writer) { + } + + #region IExtenderControl Members + + IEnumerable<ScriptDescriptor> IExtenderControl.GetScriptDescriptors (Control targetControl) { + return GetScriptDescriptors (targetControl); + } + + IEnumerable<ScriptReference> IExtenderControl.GetScriptReferences () { + return GetScriptReferences (); + } + + #endregion + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ExtenderControl.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/PostBackTrigger.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/PostBackTrigger.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/PostBackTrigger.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,59 @@ +// +// PostBackTrigger.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + public class PostBackTrigger : UpdatePanelControlTrigger + { + public string ControlID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected internal override bool HasTriggered () { + throw new NotImplementedException (); + } + + protected internal override void Initialize () { + throw new NotImplementedException (); + } + + public override string ToString () { + throw new NotImplementedException (); + } + } +} \ No newline at end of file Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/PostBackTrigger.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptBehaviorDescriptor.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptBehaviorDescriptor.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptBehaviorDescriptor.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,68 @@ +// +// ScriptBehaviorDescriptor.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + public class ScriptBehaviorDescriptor : ScriptComponentDescriptor + { + public ScriptBehaviorDescriptor (string type, string elementID) + : base (type) { + throw new NotImplementedException (); + } + + public override string ClientID { + get { + throw new NotImplementedException (); + } + } + + public string ElementID { + get { + throw new NotImplementedException (); + } + } + + public string Name { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected internal override string GetScript () { + throw new NotImplementedException (); + } + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptBehaviorDescriptor.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptComponentDescriptor.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptComponentDescriptor.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptComponentDescriptor.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,90 @@ +// +// ScriptComponentDescriptor.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + public class ScriptComponentDescriptor : ScriptDescriptor + { + public ScriptComponentDescriptor (string type) { + throw new NotImplementedException (); + } + + public virtual string ClientID { + get { + throw new NotImplementedException (); + } + } + + public virtual string ID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + public string Type { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + public void AddComponentProperty (string name, string componentID) { + throw new NotImplementedException (); + } + + public void AddElementProperty (string name, string elementID) { + throw new NotImplementedException (); + } + + public void AddEvent (string name, string handler) { + throw new NotImplementedException (); + } + + public void AddProperty (string name, object value) { + throw new NotImplementedException (); + } + + public void AddScriptProperty (string name, string script) { + throw new NotImplementedException (); + } + + protected internal override string GetScript () { + throw new NotImplementedException (); + } + } +} \ No newline at end of file Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptComponentDescriptor.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControl.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControl.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControl.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,64 @@ +// +// ScriptControl.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.Web.UI.WebControls; + +namespace System.Web.UI +{ + public abstract class ScriptControl : WebControl, IScriptControl + { + protected ScriptControl () { } + + protected abstract IEnumerable<ScriptDescriptor> GetScriptDescriptors (); + + protected abstract IEnumerable<ScriptReference> GetScriptReferences (); + + protected override void OnPreRender (EventArgs e) { + base.OnPreRender (e); + } + + protected override void Render (HtmlTextWriter writer) { + } + + #region IScriptControl Members + + IEnumerable<ScriptDescriptor> IScriptControl.GetScriptDescriptors () { + return GetScriptDescriptors (); + } + + IEnumerable<ScriptReference> IScriptControl.GetScriptReferences () { + return GetScriptReferences (); + } + + #endregion + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControl.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControlDescriptor.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControlDescriptor.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControlDescriptor.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,64 @@ +// +// ScriptControlDescriptor.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + public class ScriptControlDescriptor : ScriptComponentDescriptor + { + public ScriptControlDescriptor (string type, string elementID) + : base (type) { + throw new NotImplementedException (); + } + + public override string ClientID { + get { + throw new NotImplementedException (); + } + } + + public string ElementID { + get { + throw new NotImplementedException (); + } + } + + public override string ID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + } +} \ No newline at end of file Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptControlDescriptor.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManagerProxy.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManagerProxy.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManagerProxy.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,101 @@ +// +// ScriptManagerProxy.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + [PersistChildren (false)] + [ParseChildren (true)] + [DefaultProperty ("Scripts")] + [NonVisualControl] + public class ScriptManagerProxy : Control + { + [DefaultValue ("")] + [Category ("Behavior")] + [MergableProperty (false)] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Content)] + [PersistenceMode (PersistenceMode.InnerProperty)] + public AuthenticationServiceManager AuthenticationService { + get { + throw new NotImplementedException (); + } + } + + [MergableProperty (false)] + [Category ("Behavior")] + [DefaultValue ("")] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Content)] + [PersistenceMode (PersistenceMode.InnerProperty)] + public ProfileServiceManager ProfileService { + get { + throw new NotImplementedException (); + } + } + + [DefaultValue ("")] + [Category ("Behavior")] + [PersistenceMode (PersistenceMode.InnerProperty)] + [MergableProperty (false)] + public ScriptReferenceCollection Scripts { + get { + throw new NotImplementedException (); + } + } + + [MergableProperty (false)] + [PersistenceMode (PersistenceMode.InnerProperty)] + [Category ("Behavior")] + [DefaultValue ("")] + public ServiceReferenceCollection Services { + get { + throw new NotImplementedException (); + } + } + + [EditorBrowsable (EditorBrowsableState.Never)] + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] + [Browsable (false)] + public override bool Visible { + get { + return base.Visible; + } + set { + throw new NotImplementedException (); + } + } + + protected override void OnInit (EventArgs e) { + base.OnInit (e); + } + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptManagerProxy.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,61 @@ +// +// ScriptResourceAttribute.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + [AttributeUsage (AttributeTargets.Assembly, AllowMultiple = true)] + public sealed class ScriptResourceAttribute : Attribute + { + string _scriptName; + string _scriptResourceName; + string _typeName; + + public ScriptResourceAttribute (string scriptName, string scriptResourceName, string typeName) { + _scriptName = scriptName; + _scriptResourceName = scriptResourceName; + _typeName = typeName; + } + + public string ScriptName { + get { return _scriptName; } + } + + public string ScriptResourceName { + get { return _scriptResourceName; } + } + + public string TypeName { + get { return _typeName; } + } + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/ScriptResourceAttribute.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/TargetControlTypeAttribute.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/TargetControlTypeAttribute.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/TargetControlTypeAttribute.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,49 @@ +// +// TargetControlTypeAttribute.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; + +namespace System.Web.UI +{ + [AttributeUsage (AttributeTargets.Class, AllowMultiple = true)] + public sealed class TargetControlTypeAttribute : Attribute + { + Type _targetControlType; + + public TargetControlTypeAttribute (Type targetControlType) { + _targetControlType = targetControlType; + } + + public Type TargetControlType { + get { return _targetControlType; } + } + } +} \ No newline at end of file Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/TargetControlTypeAttribute.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/Timer.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/Timer.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/Timer.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,126 @@ +// +// Timer.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + [DefaultProperty ("Interval")] + [Designer ("System.Web.UI.Design.TimerDesigner, System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] + [NonVisualControl] + [SupportsEventValidation] + [DefaultEvent ("Tick")] + public class Timer : Control, IPostBackEventHandler, IScriptControl + { + [Category ("Behavior")] + [DefaultValue (true)] + public bool Enabled { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [DefaultValue (60000)] + [Category ("Behavior")] + public int Interval { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [DesignerSerializationVisibility (DesignerSerializationVisibility.Hidden)] + [Browsable (false)] + [EditorBrowsable (EditorBrowsableState.Never)] + public override bool Visible { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [Category ("Action")] + public event EventHandler<EventArgs> Tick; + + protected virtual IEnumerable<ScriptDescriptor> GetScriptDescriptors () { + throw new NotImplementedException (); + } + + protected virtual IEnumerable<ScriptReference> GetScriptReferences () { + throw new NotImplementedException (); + } + + protected override void OnPreRender (EventArgs e) { + base.OnPreRender (e); + } + + protected virtual void OnTick (EventArgs e) { + if (Tick != null) + Tick (this, e); + } + + protected virtual void RaisePostBackEvent (string eventArgument) { + throw new NotImplementedException (); + } + + protected override void Render (HtmlTextWriter writer) { + } + + #region IPostBackEventHandler Members + + void IPostBackEventHandler.RaisePostBackEvent (string eventArgument) { + RaisePostBackEvent (eventArgument); + } + + #endregion + + #region IScriptControl Members + + IEnumerable<ScriptDescriptor> IScriptControl.GetScriptDescriptors () { + return GetScriptDescriptors (); + } + + IEnumerable<ScriptReference> IScriptControl.GetScriptReferences () { + return GetScriptReferences (); + } + + #endregion + } +} + Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/Timer.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdatePanelControlTrigger.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdatePanelControlTrigger.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdatePanelControlTrigger.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,57 @@ +// +// UpdatePanelControlTrigger.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + public abstract class UpdatePanelControlTrigger : UpdatePanelTrigger + { + protected UpdatePanelControlTrigger () { } + + [IDReferenceProperty] + [DefaultValue ("")] + [Category ("Behavior")] + public string ControlID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected Control FindTargetControl (bool searchNamingContainers) { + throw new NotImplementedException (); + } + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdatePanelControlTrigger.cs ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdateProgress.cs =================================================================== --- trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdateProgress.cs 2007-05-28 12:55:15 UTC (rev 78053) +++ trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdateProgress.cs 2007-05-28 13:03:30 UTC (rev 78054) @@ -0,0 +1,115 @@ +// +// UpdateProgress.cs +// +// Author: +// Igor Zelmanovich <[EMAIL PROTECTED]> +// +// (C) 2007 Mainsoft, Inc. http://www.mainsoft.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. +// + +using System; +using System.Collections.Generic; +using System.Text; +using System.ComponentModel; + +namespace System.Web.UI +{ + [PersistChildren (false)] + [ParseChildren (true)] + [DefaultProperty ("AssociatedUpdatePanelID")] + [Designer ("System.Web.UI.Design.UpdateProgressDesigner, System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] + public class UpdateProgress : Control, IScriptControl + { + [Category ("Behavior")] + [DefaultValue ("")] + [IDReferenceProperty (typeof (UpdatePanel))] + public string AssociatedUpdatePanelID { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [Category ("Behavior")] + [DefaultValue (500)] + public int DisplayAfter { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [Category ("Behavior")] + [DefaultValue (true)] + public bool DynamicLayout { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + [PersistenceMode (PersistenceMode.InnerProperty)] + [Browsable (false)] + public ITemplate ProgressTemplate { + get { + throw new NotImplementedException (); + } + set { + throw new NotImplementedException (); + } + } + + protected virtual IEnumerable<ScriptDescriptor> GetScriptDescriptors () { + throw new NotImplementedException (); + } + + protected virtual IEnumerable<ScriptReference> GetScriptReferences () { + throw new NotImplementedException (); + } + + protected override void OnPreRender (EventArgs e) { + base.OnPreRender (e); + } + + protected override void Render (HtmlTextWriter writer) { + } + + #region IScriptControl Members + + IEnumerable<ScriptDescriptor> IScriptControl.GetScriptDescriptors () { + return GetScriptDescriptors (); + } + + IEnumerable<ScriptReference> IScriptControl.GetScriptReferences () { + return GetScriptReferences (); + } + + #endregion + } +} Property changes on: trunk/mcs/class/System.Web.Extensions/System.Web.UI/UpdateProgress.cs ___________________________________________________________________ Name: svn:eol-style + native _______________________________________________ Mono-patches maillist - [email protected] http://lists.ximian.com/mailman/listinfo/mono-patches
