Initial drop for System.Web.Extensions assembly
[mono.git] / mcs / class / System.Web.Extensions / System.Web.UI / UpdatePanel.cs
1 //
2 // UpdatePanel.cs
3 //
4 // Author:
5 //   Igor Zelmanovich <igorz@mainsoft.com>
6 //
7 // (C) 2007 Mainsoft, Inc.  http://www.mainsoft.com
8 //
9 //
10 // Permission is hereby granted, free of charge, to any person obtaining
11 // a copy of this software and associated documentation files (the
12 // "Software"), to deal in the Software without restriction, including
13 // without limitation the rights to use, copy, modify, merge, publish,
14 // distribute, sublicense, and/or sell copies of the Software, and to
15 // permit persons to whom the Software is furnished to do so, subject to
16 // the following conditions:
17 // 
18 // The above copyright notice and this permission notice shall be
19 // included in all copies or substantial portions of the Software.
20 // 
21 // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
22 // EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
23 // MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
24 // NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE
25 // LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION
26 // OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION
27 // WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
28 //
29
30 using System;
31 using System.Collections.Generic;
32 using System.Text;
33 using System.ComponentModel;
34 using System.Security.Permissions;
35
36 namespace System.Web.UI
37 {
38         [DesignerAttribute ("System.Web.UI.Design.UpdatePanelDesigner, System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
39         [DefaultPropertyAttribute ("Triggers")]
40         [ParseChildrenAttribute (true)]
41         [PersistChildrenAttribute (false)]
42         [AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
43         [AspNetHostingPermissionAttribute (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
44         public class UpdatePanel : Control
45         {
46                 [Category ("Behavior")]
47                 [DefaultValue (true)]
48                 public bool ChildrenAsTriggers {
49                         get {
50                                 throw new NotImplementedException ();
51                         }
52                         set {
53                                 throw new NotImplementedException ();
54                         }
55                 }
56
57                 [TemplateInstance (TemplateInstance.Single)]
58                 [PersistenceMode (PersistenceMode.InnerProperty)]
59                 [Browsable (false)]
60                 public ITemplate ContentTemplate {
61                         get {
62                                 throw new NotImplementedException ();
63                         }
64                         set {
65                                 throw new NotImplementedException ();
66                         }
67                 }
68
69                 [Browsable (false)]
70                 public Control ContentTemplateContainer {
71                         get {
72                                 throw new NotImplementedException ();
73                         }
74                 }
75
76                 public override sealed ControlCollection Controls {
77                         get {
78                                 return base.Controls;
79                         }
80                 }
81
82                 [Browsable (false)]
83                 public bool IsInPartialRendering {
84                         get {
85                                 throw new NotImplementedException ();
86                         }
87                 }
88
89                 [Category ("Layout")]
90                 public UpdatePanelRenderMode RenderMode {
91                         get {
92                                 throw new NotImplementedException ();
93                         }
94                         set {
95                                 throw new NotImplementedException ();
96                         }
97                 }
98
99                 protected internal virtual bool RequiresUpdate {
100                         get {
101                                 throw new NotImplementedException ();
102                         }
103                 }
104
105                 [MergableProperty (false)]
106                 [DefaultValue ("")]
107                 [PersistenceMode (PersistenceMode.InnerProperty)]
108                 [Category ("Behavior")]
109                 public UpdatePanelTriggerCollection Triggers {
110                         get {
111                                 throw new NotImplementedException ();
112                         }
113                 }
114
115                 [Category ("Behavior")]
116                 public UpdatePanelUpdateMode UpdateMode {
117                         get {
118                                 throw new NotImplementedException ();
119                         }
120                         set {
121                                 throw new NotImplementedException ();
122                         }
123                 }
124
125                 protected virtual Control CreateContentTemplateContainer ()
126                 {
127                         throw new NotImplementedException ();
128                 }
129
130                 protected override sealed ControlCollection CreateControlCollection ()
131                 {
132                         throw new NotImplementedException ();
133                 }
134
135                 protected internal virtual void Initialize ()
136                 {
137                         throw new NotImplementedException ();
138                 }
139
140                 protected override void OnInit (EventArgs e)
141                 {
142                         base.OnInit (e);
143                 }
144
145                 protected override void OnLoad (EventArgs e)
146                 {
147                         base.OnLoad (e);
148                 }
149
150                 protected override void OnPreRender (EventArgs e)
151                 {
152                         base.OnPreRender (e);
153                 }
154
155                 protected override void OnUnload (EventArgs e)
156                 {
157                         base.OnUnload (e);
158                 }
159
160                 protected override void Render (HtmlTextWriter writer)
161                 {
162                 }
163
164                 protected override void RenderChildren (HtmlTextWriter writer)
165                 {
166                 }
167
168                 public void Update ()
169                 {
170                         throw new NotImplementedException ();
171                 }
172         }
173 }