UpdatePanel.cs 4.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. //
  2. // UpdatePanel.cs
  3. //
  4. // Author:
  5. // Igor Zelmanovich <[email protected]>
  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. using System;
  30. using System.Collections.Generic;
  31. using System.Text;
  32. using System.ComponentModel;
  33. using System.Security.Permissions;
  34. namespace System.Web.UI
  35. {
  36. [DesignerAttribute ("System.Web.UI.Design.UpdatePanelDesigner, System.Web.Extensions.Design, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")]
  37. [DefaultPropertyAttribute ("Triggers")]
  38. [ParseChildrenAttribute (true)]
  39. [PersistChildrenAttribute (false)]
  40. [AspNetHostingPermissionAttribute (SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
  41. [AspNetHostingPermissionAttribute (SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
  42. public class UpdatePanel : Control
  43. {
  44. [Category ("Behavior")]
  45. [DefaultValue (true)]
  46. public bool ChildrenAsTriggers {
  47. get {
  48. throw new NotImplementedException ();
  49. }
  50. set {
  51. throw new NotImplementedException ();
  52. }
  53. }
  54. [TemplateInstance (TemplateInstance.Single)]
  55. [PersistenceMode (PersistenceMode.InnerProperty)]
  56. [Browsable (false)]
  57. public ITemplate ContentTemplate {
  58. get {
  59. throw new NotImplementedException ();
  60. }
  61. set {
  62. throw new NotImplementedException ();
  63. }
  64. }
  65. [Browsable (false)]
  66. public Control ContentTemplateContainer {
  67. get {
  68. throw new NotImplementedException ();
  69. }
  70. }
  71. public override sealed ControlCollection Controls {
  72. get {
  73. return base.Controls;
  74. }
  75. }
  76. [Browsable (false)]
  77. public bool IsInPartialRendering {
  78. get {
  79. throw new NotImplementedException ();
  80. }
  81. }
  82. [Category ("Layout")]
  83. public UpdatePanelRenderMode RenderMode {
  84. get {
  85. throw new NotImplementedException ();
  86. }
  87. set {
  88. throw new NotImplementedException ();
  89. }
  90. }
  91. protected internal virtual bool RequiresUpdate {
  92. get {
  93. throw new NotImplementedException ();
  94. }
  95. }
  96. [MergableProperty (false)]
  97. [DefaultValue ("")]
  98. [PersistenceMode (PersistenceMode.InnerProperty)]
  99. [Category ("Behavior")]
  100. public UpdatePanelTriggerCollection Triggers {
  101. get {
  102. throw new NotImplementedException ();
  103. }
  104. }
  105. [Category ("Behavior")]
  106. public UpdatePanelUpdateMode UpdateMode {
  107. get {
  108. throw new NotImplementedException ();
  109. }
  110. set {
  111. throw new NotImplementedException ();
  112. }
  113. }
  114. protected virtual Control CreateContentTemplateContainer ()
  115. {
  116. throw new NotImplementedException ();
  117. }
  118. protected override sealed ControlCollection CreateControlCollection ()
  119. {
  120. throw new NotImplementedException ();
  121. }
  122. protected internal virtual void Initialize ()
  123. {
  124. throw new NotImplementedException ();
  125. }
  126. protected override void OnInit (EventArgs e)
  127. {
  128. base.OnInit (e);
  129. }
  130. protected override void OnLoad (EventArgs e)
  131. {
  132. base.OnLoad (e);
  133. }
  134. protected override void OnPreRender (EventArgs e)
  135. {
  136. base.OnPreRender (e);
  137. }
  138. protected override void OnUnload (EventArgs e)
  139. {
  140. base.OnUnload (e);
  141. }
  142. protected override void Render (HtmlTextWriter writer)
  143. {
  144. }
  145. protected override void RenderChildren (HtmlTextWriter writer)
  146. {
  147. }
  148. public void Update ()
  149. {
  150. throw new NotImplementedException ();
  151. }
  152. }
  153. }