NumericPagerField.cs 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. //
  2. // System.Web.UI.WebControls.NumericPagerField
  3. //
  4. // Authors:
  5. // Marek Habersack ([email protected])
  6. //
  7. // (C) 2007 Novell, Inc
  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. #if NET_3_5
  30. using System;
  31. using System.Security.Permissions;
  32. using System.Web;
  33. using System.Web.UI;
  34. namespace System.Web.UI.WebControls
  35. {
  36. [AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level = AspNetHostingPermissionLevel.Minimal)]
  37. [AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level = AspNetHostingPermissionLevel.Minimal)]
  38. public class NumericPagerField : DataPagerField
  39. {
  40. public NumericPagerField ()
  41. {
  42. }
  43. protected override void CopyProperties (DataPagerField newField)
  44. {
  45. }
  46. public override void CreateDataPagers (DataPagerFieldItem container, int startRowIndex, int maximumRows,
  47. int totalRowCount, int fieldIndex)
  48. {
  49. }
  50. protected override DataPagerField CreateField ()
  51. {
  52. throw new NotImplementedException ();
  53. }
  54. public override bool Equals (object o)
  55. {
  56. throw new NotImplementedException ();
  57. }
  58. public override int GetHashCode ()
  59. {
  60. throw new NotImplementedException ();
  61. }
  62. public override void HandleEvent (CommandEventArgs e)
  63. {
  64. }
  65. public int ButtonCount {
  66. get {
  67. throw new NotImplementedException ();
  68. }
  69. set {
  70. }
  71. }
  72. public ButtonType ButtonType {
  73. get {
  74. throw new NotImplementedException ();
  75. }
  76. set {
  77. }
  78. }
  79. public string CurrentPageLabelCssClass {
  80. get {
  81. throw new NotImplementedException ();
  82. }
  83. set {
  84. }
  85. }
  86. public string NextPageImageUrl {
  87. get {
  88. throw new NotImplementedException ();
  89. }
  90. set {
  91. }
  92. }
  93. public string NextPageText {
  94. get {
  95. throw new NotImplementedException ();
  96. }
  97. set {
  98. }
  99. }
  100. public string NextPreviousButtonCssClass {
  101. get {
  102. throw new NotImplementedException ();
  103. }
  104. set {
  105. }
  106. }
  107. public string NumericButtonCssClass {
  108. get {
  109. throw new NotImplementedException ();
  110. }
  111. set {
  112. }
  113. }
  114. public string PreviousPageImageUrl {
  115. get {
  116. throw new NotImplementedException ();
  117. }
  118. set {
  119. }
  120. }
  121. public string PreviousPageText {
  122. get {
  123. throw new NotImplementedException ();
  124. }
  125. set {
  126. }
  127. }
  128. public bool RenderNonBreakingSpacesBetweenControls {
  129. get {
  130. throw new NotImplementedException ();
  131. }
  132. set {
  133. }
  134. }
  135. }
  136. }
  137. #endif