ChangeLog 34 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042
  1. 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
  2. * HtmlInputButton.cs: render the onclick for doing a postback even when
  3. there are no validators.
  4. 2005-09-19 Sebastien Pouliot <[email protected]>
  5. * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
  6. 2005-09-19 Sebastien Pouliot <[email protected]>
  7. * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
  8. [UrlProperty] on HRef property for 2.0.
  9. * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
  10. * HtmlHead.cs: Remove IPageHeader interface.
  11. * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
  12. * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
  13. * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
  14. * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
  15. * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
  16. [UrlProperty] on Src property for 2.0.
  17. * HtmlInputPassword.cs: Added [SupportsEventValidation].
  18. * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
  19. * HtmlInputReset.cs: Added [SupportsEventValidation].
  20. * HtmlInputSubmit.cs: Added [SupportsEventValidation].
  21. * HtmlInputText.cs: Added [SupportsEventValidation] on class and
  22. re-enabled RenderAttribute for 2.0.
  23. * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
  24. * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
  25. * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
  26. 2005-09-18 Chris Toshok <[email protected]>
  27. * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
  28. instead of AddAttribute when dealing with "onclick."
  29. 2005-09-14 Sebastien Pouliot <[email protected]>
  30. * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
  31. 2005-09-11 Chris Toshok <[email protected]>
  32. * HtmlInputFile.cs (set_Value): add a message to the
  33. NotSupportedException.
  34. * HtmlInputControl.cs (RenderAttributes): add Page != null to the
  35. checks before we register our control with the
  36. __enabledControlArray JS array.
  37. 2005-09-09 Chris Toshok <[email protected]>
  38. * HtmlInputButton.cs (CausesValidation): this is stored in
  39. Attributes, not ViewState.
  40. (ValidationGroup): same.
  41. (RenderAttributes): remove CausesValidation from the list of
  42. Attributes before calling base.RenderAttributes. Don't, however,
  43. remove ValidationGroup, to replicate an MS bug.
  44. 2005-09-07 Chris Toshok <[email protected]>
  45. * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
  46. (Name): not sure about this property.. the getter apparently just
  47. returns UniqueID, and the setter does nothing that I can figure
  48. out.
  49. (RenderAttributes): don't bother to remove "name", since it's not
  50. in the attributes anyway.
  51. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  52. * HtmlInputControl.cs: use the Name property instead of the ClientID.
  53. The 'name' attribute rendered contains colons if inside a
  54. NamingContainer.
  55. 2005-09-07 Chris Toshok <[email protected]>
  56. * HtmlInputCheckBox.cs (Checked): uncomment the
  57. MinimizableAttributeTypeConverter attribute.
  58. * HtmlControl.cs (Disabled): uncomment the
  59. MinimizableAttributeTypeConverter attribute.
  60. * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
  61. * HtmlTableCell.cs (NoWrap): uncomment the
  62. MinimizableAttributeTypeConverter attribute.
  63. * HtmlLink.cs (Href): remove the MonoTODO.
  64. * HtmlMeta.cs (Name): remove the MonoTODO.
  65. (Scheme): same.
  66. (Render): add (pretty bogus, really..) implementation. not sure
  67. why we need this one.
  68. 2005-09-06 Chris Toshok <[email protected]>
  69. * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
  70. null.
  71. 2005-09-06 Chris Toshok <[email protected]>
  72. * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
  73. ID.
  74. 2005-09-06 Chris Toshok <[email protected]>
  75. * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
  76. (AddedControl): move the HtmlTitle logic here.
  77. (RemovedControl): clear out the title if that was the control that
  78. was removed.
  79. * HtmlLink.cs: new implementation.
  80. * HtmlMeta.cs: new implementation.
  81. 2005-09-06 Chris Toshok <[email protected]>
  82. * HtmlInputControl.cs (RenderAttributes): add ourselves to the
  83. __enabledControlArray JS array if we're currently enabled and the
  84. form is set to SubmitDisabledControls.
  85. * HtmlForm.cs (OnInit): call Page.RegisterForm here.
  86. (DetermineRenderUplevel): split this out of OnPreRender and make
  87. it internal so HtmlInputControl can call it.
  88. (OnPreRender): add handling for SubmitDisabledControls.
  89. 2005-09-05 Chris Toshok <[email protected]>
  90. * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
  91. or in the ViewState. where then?
  92. (DefaultFocus): this one is stored in the ViewState, not as an
  93. Attribute.
  94. (SubmitDisabledControls): implement just as a boolean flag, not in
  95. the viewstate or attributes.
  96. (RenderAttributes): defaultfocus and defaultbutton are no longer
  97. in Attributes.
  98. 2005-09-04 Chris Toshok <[email protected]>
  99. * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
  100. * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
  101. * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
  102. * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
  103. way, and in OnPreRender, call Page.RegisterRequiresPostback.
  104. * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
  105. and in OnPreRender, call Page.RegisterRequiresPostback.
  106. * HtmlInputRadioButton.cs (OnPreRender): call
  107. Page.RegisterRequiresPostback.
  108. * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
  109. Also, in OnPreRender, call Page.RegisterRequiresPostback.
  110. * HtmlTextArea.cs (OnPreRender): call
  111. Page.RegisterRequiresPostback.
  112. 2005-09-02 Chris Toshok <[email protected]>
  113. * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
  114. 2005-09-02 Chris Toshok <[email protected]>
  115. * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
  116. * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
  117. raisepostdatachangedevent, and raisepostbackevent.
  118. (validationgroup): implement.
  119. * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
  120. and raisepostdatachangedevent.
  121. * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
  122. and RaisePostDataChangedEvent.
  123. * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
  124. body of both RaisePostBackEvent impl's here, and fix it up so we
  125. use the property Page.Validate call in 2.0.
  126. (RaisePostBackEvent): call RaisePostBackEventInternal.
  127. (IPostBackEventHandler.RaisePostBackEvent): same.
  128. * HtmlImage.cs (Align): the test case shows that we don't need to
  129. validate input.
  130. 2005-09-01 Sebastien Pouliot <[email protected]>
  131. * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
  132. HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
  133. HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
  134. HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
  135. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
  136. HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
  137. HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
  138. HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
  139. HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
  140. attributes AspNetHostingPermission for Minimal level on all classes
  141. (LinkDemand) and for non-sealed classes (InheritanceDemand).
  142. 2005-08-29 Chris Toshok <[email protected]>
  143. * System.Web.UI.HtmlControls/HtmlTableCell.cs,
  144. System.Web.UI.HtmlControls/HtmlInputFile.cs,
  145. System.Web.UI.HtmlControls/HtmlForm.cs,
  146. System.Web.UI.HtmlControls/HtmlInputText.cs,
  147. System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
  148. System.Web.UI.HtmlControls/HtmlAnchor.cs,
  149. System.Web.UI.HtmlControls/HtmlButton.cs,
  150. System.Web.UI.HtmlControls/HtmlTextArea.cs,
  151. System.Web.UI.HtmlControls/HtmlGenericControl.cs,
  152. System.Web.UI.HtmlControls/HtmlSelect.cs,
  153. System.Web.UI.HtmlControls/HtmlTableRow.cs,
  154. System.Web.UI.HtmlControls/HtmlControl.cs,
  155. System.Web.UI.HtmlControls/HtmlImage.cs,
  156. System.Web.UI.HtmlControls/HtmlTable.cs,
  157. System.Web.UI.HtmlControls/HtmlInputButton.cs,
  158. System.Web.UI.HtmlControls/HtmlInputControl.cs,
  159. System.Web.UI.HtmlControls/HtmlInputImage.cs,
  160. System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
  161. System.Web.UI.HtmlControls/HtmlInputHidden.cs,
  162. System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
  163. attributes.
  164. 2005-08-29 Chris Toshok <[email protected]>
  165. * HtmlInputSubmit.cs: new implementation.
  166. * HtmlInputReset.cs (ValidationGroup): implement
  167. * HtmlInputButton.cs (ValidationGroup): implement.
  168. 2005-08-29 Chris Toshok <[email protected]>
  169. * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
  170. * HtmlForm.cs: same.
  171. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  172. * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
  173. but not used. Call ResolveUrl when rendering the attributes instead.
  174. 2005-08-28 Chris Toshok <[email protected]>
  175. * HtmlHeadBuilder.cs: this is public.
  176. * HtmlSelectBuilder.cs: in 2.0 this is public.
  177. * HtmlInputButton.cs: fix boilerplate.
  178. * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
  179. (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
  180. Page.Validation(ValidationGroup).
  181. 2005-08-28 Chris Toshok <[email protected]>
  182. * HtmlInputReset.cs: mostly complete implementation.
  183. 2005-08-28 Chris Toshok <[email protected]>
  184. * HtmlInputPassword.cs: doh, make this NET_2_0 only.
  185. 2005-08-28 Chris Toshok <[email protected]>
  186. * HtmlInputPassword.cs: implement.
  187. 2005-08-28 Chris Toshok <[email protected]>
  188. * HtmlImage.cs: corcompare fixes.
  189. * HtmlInputCheckBox.cs: same.
  190. 2005-08-27 Chris Toshok <[email protected]>
  191. * HtmlControl.cs (GetAttribute, SetAttribute): implement.
  192. 2005-08-27 Chris Toshok <[email protected]>
  193. * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
  194. (OnPreRender): figure out (hackishly) if we're uplevel rendering.
  195. If we have a default button/focus control set, register webform.js
  196. as a client script block, and emit some JS to focus the control.
  197. (RenderAttributes): verify that the DefaultButton attribute points
  198. to a valid IButtonControl implementing control. Also remove the
  199. defaultfocus/defaultbutton attributes before calling
  200. base.RenderAttributes.
  201. 2005-08-27 Kornél Pál <[email protected]>
  202. * HtmlTableCell.cs: Fixed to use Consts.
  203. 2005-08-26 Chris Toshok <[email protected]>
  204. * HtmlButton.cs (ValidationGroup): implement.
  205. (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
  206. one body of the actual RaisePostBackEvent code. Also, call
  207. Page.Validate(ValidationGroup) in the 2.0 case.
  208. 2005-08-25 Miguel de Icaza <[email protected]>
  209. * HtmlHead.cs: Implement constructor, pass the tag.
  210. 2005-08-25 Sebastien Pouliot <[email protected]>
  211. * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
  212. 2005-08-25 Chris Toshok <[email protected]>
  213. * HtmlForm.cs (CreateControlCollection, OnPreRender,
  214. RenderControl): implement naively, just calling base.Method.
  215. 2005-08-25 Chris Toshok <[email protected]>
  216. * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
  217. the last '/' when rendering the action. Fixes comments in
  218. nGallery.
  219. 2005-08-24 Chris Toshok <[email protected]>
  220. * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  221. HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
  222. HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
  223. Add MonoTODO's for all NotImplementedException's.
  224. 2005-08-18 Dick Porter <[email protected]>
  225. * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  226. HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
  227. HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
  228. HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
  229. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
  230. HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
  231. 2005-08-15 Sebastien Pouliot <[email protected]>
  232. * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
  233. Load method (bad choice) to DefaultLoadPostData.
  234. 2005-08-15 Sebastien Pouliot <[email protected]>
  235. * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
  236. * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
  237. method. Fixed support for protected LoadPostData and
  238. RaisePostDataChangedEvent in 2.0 (recursion).
  239. * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
  240. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  241. * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
  242. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  243. 2005-08-15 Sebastien Pouliot <[email protected]>
  244. * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
  245. for 2.0 profile. The class seems to be internal and not (yet?)
  246. implemented.
  247. 2005-08-13 Sebastien Pouliot <[email protected]>
  248. * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
  249. * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
  250. (at least) HtmlInputControl in 2.0 profile.
  251. * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
  252. * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
  253. 2005-08-09 Dick Porter <[email protected]>
  254. * HtmlSelect.cs: Clear databindings when adding a new one; cope
  255. with assorted combinations of empty text and value fields; write
  256. <option> tags manually to match ms HTML output. All fix nunit
  257. tests.
  258. 2005-08-08 Sebastien Pouliot <[email protected]>
  259. * HtmlInputControl.cs: Remove code to handle password (wrong place)
  260. and fixed type handling for 2.0.
  261. * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
  262. the type == password. Tests indicates that the value is present for
  263. 2.0.
  264. 2005-08-05 Dick Porter <[email protected]>
  265. * HtmlSelect.cs: Fix databinding when one or other of Name and
  266. Value aren't supplied (thanks to Peter for the patch); Make
  267. <option> indenting match ms output.
  268. 2005-07-30 Ben Maurer <[email protected]>
  269. * HtmlForm.cs: Make sure we actually put the "?" in the url
  270. 2005-07-29 Dick Porter <[email protected]>
  271. * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
  272. instead of building the query string by hand
  273. 2005-07-27 Dick Porter <[email protected]>
  274. * HtmlInputCheckBox.cs: New implementation
  275. 2005-07-26 Peter Dennis Bartok <[email protected]>
  276. * HtmlSelect.cs: Added missing attributes
  277. 2005-07-26 Dick Porter <[email protected]>
  278. * HtmlSelect.cs: New implementation
  279. 2005-07-26 Miguel de Icaza <[email protected]>
  280. * HtmlForm.cs: It is possible to have keys with no values in the
  281. query string, do not try to process those on the foreach loop.
  282. The question is: what should happen if I only get the key?
  283. Example: file_with_a_form.aspx?a
  284. 2005-07-25 Peter Dennis Bartok <[email protected]>
  285. * HtmlForml.cs: Implemented UniqueID (new in sp1)
  286. * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
  287. 2005-07-24 Dick Porter <[email protected]>
  288. * HtmlForm.cs: Add the trailing query string to the form action;
  289. fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
  290. 2005-07-22 Dick Porter <[email protected]>
  291. * HtmlInputFile.cs: Add assembly attributes
  292. 2005-07-21 Dick Porter <[email protected]>
  293. * HtmlImage.cs: The src attribute needs to be a relative URL;
  294. close the HTML element when rendering attributes, to match the MS
  295. impl.
  296. * HtmlForm.cs: Added assembly attributes; don't render ID twice;
  297. don't render enctype and target if they are empty strings;
  298. implement a Render overload to keep corcompare quiet.
  299. 2005-07-20 Chris Toshok <[email protected]>
  300. * HtmlForm.cs (RenderAttributes): if there are submit statements,
  301. we need to render those.
  302. * HtmlInputImage.cs: same.
  303. * HtmlInputButton.cs: hook up the client validation stuff.
  304. * HtmlButton.cs: same, except a lot more complicated due to
  305. postback handling.
  306. 2005-07-19 Dick Porter <[email protected]>
  307. * HtmlImage.cs: Added attributes; use Int32.Parse instead of
  308. Convert.ToInt32
  309. 2005-07-18 Sebastien Pouliot <[email protected]>
  310. * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
  311. ControlID for Name (and not ID). Added ControlBuilder attribute.
  312. * HtmlTable.cs: Simplify check when adding controls.
  313. * HtmlTableRow.cs: Simplify check when adding controls.
  314. 2005-07-18 Jackson Harper <[email protected]>
  315. * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
  316. attribute.
  317. 2005-07-15 Jackson Harper <[email protected]>
  318. * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
  319. constant. Update fetching from viewstate code to use new
  320. convenience method.
  321. 2005-07-15 Jackson Harper <[email protected]>
  322. * HtmlInputButton.cs: Add DefaultEventAttribute.
  323. 2005-07-15 Sebastien Pouliot <[email protected]>
  324. * HtmlInputControl.cs: Removed internal property (no more required to
  325. compile).
  326. * HtmlInputRadioButton.cs: Optimized events.
  327. * HtmlInputText.cs: Optimized events.
  328. * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
  329. strings to integers.
  330. * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
  331. strings to integers.
  332. * HtmlTextArea.cs: Optimized events.
  333. 2005-07-15 Sebastien Pouliot <[email protected]>
  334. * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
  335. result) and fixed compatibility for a weird behaviour of the HRef
  336. attribute handling. Optimized events.
  337. 2005-07-14 Jackson Harper <[email protected]>
  338. * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
  339. string constant. Use new method for accessing ViewState
  340. data. Don't remove value from the view state if it is the default.
  341. 2005-07-14 Jackson Harper <[email protected]>
  342. * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
  343. string constant. Use new method for accessing ViewState
  344. data. Don't remove value from the view state if it is the default.
  345. 2005-07-14 Dick Porter <[email protected]>
  346. * HtmlInputFile.cs: New implementation
  347. 2005-07-14 Jackson Harper <[email protected]>
  348. * HtmlInputControl.cs: Use ClientID for input controls name.
  349. 2005-07-14 Dick Porter <[email protected]>
  350. * HtmlForm.cs: New Implementation
  351. 2005-07-13 Sebastien Pouliot <[email protected]>
  352. * HtmlTable.cs: Added missing attributes.
  353. * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
  354. as the builder's type isn't public.
  355. * HtmlInputControl.cs: Added missing attributes.
  356. * HtmlInputText.cs: Added missing attributes.
  357. * HtmlInputRadioButton.cs: Added missing attributes.
  358. * HtmlAnchor.cs: Added missing attributes.
  359. * HtmlTextArea.cs: Added missing attributes.
  360. * HtmlTableRow.cs: Added missing attributes.
  361. 2005-07-12 Sebastien Pouliot <[email protected]>
  362. * HtmlAnchor.cs: Added DefaultValue attributes.
  363. * HtmlInputControl.cs: Added DefaultValue attributes.
  364. * HtmlInputRadioButton.cs: Added DefaultValue attributes.
  365. * HtmlInputText.cs: Added DefaultValue attributes. Added method
  366. RenderAttributes in 1.1 profile.
  367. * HtmlTable.cs: Fix DefaultValue to "".
  368. * HtmlTextArea.cs: Added DefaultValue attributes.
  369. 2005-07-12 Sebastien Pouliot <[email protected]>
  370. * HtmlTableCell.cs: Added DefaultValue attributes.
  371. * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
  372. * HtmlTableRowCollection.cs: Reworked collection to share data with
  373. HtmlTable.Controls.
  374. * HtmlTableCellCollection.cs: Reworked collection to share data with
  375. HtmlTableRow.Controls.
  376. * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
  377. 2005-07-09 Sebastien Pouliot <[email protected]>
  378. * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
  379. 2005-07-08 Sebastien Pouliot <[email protected]>
  380. * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
  381. 2005-07-08 Sebastien Pouliot <[email protected]>
  382. * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
  383. "innerhtml".
  384. * HtmlTextArea.cs: New implementation.
  385. 2005-07-07 Jackson Harper <[email protected]>
  386. * HtmlInputImage.cs: New implementation.
  387. 2005-07-07 Sebastien Pouliot <[email protected]>
  388. * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
  389. * HtmlInputControl.cs: New implementation.
  390. * HtmlInputRadioButton.cs: New implementation.
  391. * HtmlInputText.cs: New implementation.
  392. 2005-07-07 Jackson Harper <[email protected]>
  393. * HtmlInputHidden.cs: New implementation.
  394. 2005-07-07 Jackson Harper <[email protected]>
  395. * HtmlAnchor.cs: Call base OnPreRender from override.
  396. 2005-07-07 Jackson Harper <[email protected]>
  397. * HtmlInputButton.cs: New implementation.
  398. 2005-07-07 Dick Porter <[email protected]>
  399. * HtmlImage.cs: New implementation
  400. 2005-07-07 Sebastien Pouliot <[email protected]>
  401. * HtmlAnchor.cs: Fixed to remove attributes properly.
  402. * HtmlTable.cs: New implementation.
  403. * HtmlTableCell.cs: New implementation.
  404. * HtmlTableCellCollection.cs: New implementation.
  405. * HtmlTableRow.cs: New implementation.
  406. * HtmlTableRowCollection.cs: New implementation.
  407. 2005-07-06 Jackson Harper <[email protected]>
  408. * HtmlButton.cs: New implementation.
  409. 2005-07-06 Sebastien Pouliot <[email protected]>
  410. * HtmlAnchor.cs: New implementation.
  411. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  412. * HtmlTableCell.cs:
  413. * HtmlControl.cs: updates for 1.1 SP1.
  414. 2005-05-20 Gonzalo Paniagua Javier <[email protected]>
  415. * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
  416. number 74989.
  417. 2005-05-06 Lluis Sanchez Gual <[email protected]>
  418. * HtmlHead.cs: Fix warning.
  419. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  420. * HtmlForm.cs: Use the new WriteSubmitStatements method from
  421. Page.ClientScript.
  422. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  423. * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
  424. Page.GetPostBackClientEvent since it is deprecated in 2.0.
  425. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  426. * HtmlForm.cs: Register the form in the page, so the page knows
  427. which is the main form.
  428. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  429. * HtmlHead.cs: Method name fix.
  430. 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
  431. * HtmlForm.cs: submitStatements holds Hashtables.
  432. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  433. * HtmlHead.cs: Implemented.
  434. * HtmlHeadBuilder.cs: Implemented.
  435. * HtmlTitle.cs: Implemented.
  436. 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
  437. * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
  438. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  439. * HtmlForm.cs: fixed the Action property when running a different
  440. page than the one requested (Transfer). Closes bug #69318.
  441. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  442. * HtmlForm.cs: Add submit statements from the new Page.ClientScript
  443. property.
  444. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  445. * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
  446. it and failed when the browser was IE.
  447. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  448. * HtmlForm.cs: default value for Enctype is "".
  449. * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
  450. we set it to "multipart/form-data". Fixes bug #58359.
  451. 2004-01-15 Alon Gazit <[email protected]>
  452. * HtmlForm.cs: The property name always return the value of the
  453. property UniqueID.
  454. 2003-12-28 Alon Gazit <[email protected]>
  455. * HtmlSelect.cs: fix typo in LoadPostData().
  456. 2003-12-29 Alon Gazit <[email protected]>
  457. * HtmlInputButton.cs: update the implementation of RenderAttributes().
  458. Change the if statement that determines if the onclick script is
  459. rendered.
  460. 2003-12-28 Alon Gazit <[email protected]>
  461. * HtmlSelect.cs: add parentheses to if statement.
  462. Currently the else statement refers to the inner if statement.
  463. 2003-12-28 Alon Gazit <[email protected]>
  464. * HtmlSelect.cs: fix upper bound of for statement.
  465. 2003-12-19 Jackson Harper <[email protected]>
  466. * HtmlInputFile.cs: Do not set value when loading post data.
  467. 2003-12-14 Alon Gazit <[email protected]>
  468. * HtmlInputButton.cs: The problem was in RenderAttributes().
  469. Before adding the script to the HTML, the number of Validators should
  470. be checked. fixes bug #52158.
  471. 2003-12-07 Alon Gazit <[email protected]>
  472. * HtmlTableCell.cs: fixing a typo in NoWrap property.
  473. 2003-12-04 Jackson Harper <[email protected]>
  474. * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
  475. value. This is because radio button groups are created by setting
  476. the name to the same value with each button, then on postback the
  477. value of the name is the id of the selected radio button.
  478. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  479. * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
  480. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  481. * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
  482. remove the code used to workaround that.
  483. 2003-12-01 Jackson Harper <[email protected]>
  484. * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
  485. <[email protected]>.
  486. 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
  487. * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
  488. <[email protected]>. Fixes bug #51377.
  489. 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
  490. * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
  491. <[email protected]>.
  492. 2003-10-29 Jackson Harper <[email protected]>
  493. * HtmlControl.cs: Make disabled an attribute of the control so it
  494. is rendered. This is a slightly modifed version of a patch
  495. by Yaron Shkop. Fixes bug #50160.
  496. 2003-10-16 Gonzalo Paniagua Javier <[email protected]>
  497. * HtmlTextArea.cs: fixed infinite recursion.
  498. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  499. * HtmlForm.cs: render the onsubmit attribute.
  500. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  501. * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
  502. need to pass true here. Fixes bug #47918.
  503. 2003-07-17 Andreas Nahr <[email protected]>
  504. * HtmlContainerControl.cs: Added attributes
  505. * HtmlControl.cs: Added attributes
  506. * HtmlInputControl.cs: Fixed public signature
  507. * HtmlInputRadioButton.cs: Fixed public signature
  508. * HtmlSelect.cs: Added missing attribute
  509. * HtmlTable.cs: Added missing attribute
  510. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  511. * HtmlSelect.cs: fixed bug #44894.
  512. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  513. * HtmlImage.cs:
  514. * HtmlInputControl.cs:
  515. * HtmlSelect.cs: added control builder attribute.
  516. * HtmlSelectBuilder.cs: builder for HtmlSelect.
  517. * HtmlControlBuilder.cs: common builder for all HtmlControls.
  518. 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
  519. * HtmlControl.cs: _tagName is now internal.
  520. * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
  521. name.
  522. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  523. * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
  524. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  525. * HtmlInputButton.cs: fixed bug #35677.
  526. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  527. * HtmlInputControl.cs: fixed bug #35673.
  528. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  529. * HtmlInputText.cs: fixed bug #35670.
  530. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  531. * HtmlSelect.cs: fixed LoadViewstate.
  532. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  533. * HtmlButton.cs: make it do a POST if the button has any ServerClick
  534. events.
  535. 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
  536. * HtmlAnchor.cs:
  537. * HtmlButton.cs:
  538. * HtmlContainerControl.cs:
  539. * HtmlControl.cs:
  540. * HtmlForm.cs:
  541. * HtmlGenericControl.cs:
  542. * HtmlImage.cs:
  543. * HtmlInputButton.cs:
  544. * HtmlInputCheckBox.cs:
  545. * HtmlInputControl.cs:
  546. * HtmlInputFile.cs:
  547. * HtmlInputHidden.cs:
  548. * HtmlInputImage.cs:
  549. * HtmlInputRadioButton.cs:
  550. * HtmlInputText.cs:
  551. * HtmlSelect.cs:
  552. * HtmlTable.cs:
  553. * HtmlTableCell.cs:
  554. * HtmlTableRow.cs:
  555. * HtmlTextArea.cs: added almost all missing attributes.
  556. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  557. * HtmlControl.cs: the attributes must use ViewState as its StateBag,
  558. if not style values are lost between postbacks.
  559. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  560. * HtmlAnchor.cs:
  561. * HtmlButton.cs:
  562. * HtmlInputButton.cs:
  563. * HtmlInputCheckBox.cs:
  564. * HtmlInputHidden.cs:
  565. * HtmlInputImage.cs:
  566. * HtmlInputText.cs:
  567. * HtmlTextArea.cs: Initialize EventHandlerList indexer.
  568. * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
  569. instead of maintaining some flags and strings. Implemented
  570. LoadViewState.
  571. * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
  572. * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
  573. and Value.
  574. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  575. * HtmlGenericControl.cs: fixed TagName signature and get/set.
  576. * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
  577. * HtmlInputText.cs: added attribute.
  578. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  579. * HtmlForm.cs: don't render action attribute.
  580. 2002-07-04 Gonzalo Paniagua Javier <[email protected]>
  581. * HtmlContainerControl.cs:
  582. (CreateControlCollection): added. All containers must have a non-empty
  583. control collection.
  584. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  585. * System.Web.UI.HtmlControls/HtmlAnchor.cs:
  586. * System.Web.UI.HtmlControls/HtmlButton.cs:
  587. * System.Web.UI.HtmlControls/HtmlControl.cs:
  588. * System.Web.UI.HtmlControls/HtmlForm.cs:
  589. * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
  590. * System.Web.UI.HtmlControls/HtmlInputButton.cs:
  591. * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
  592. * System.Web.UI.HtmlControls/HtmlInputControl.cs:
  593. * System.Web.UI.HtmlControls/HtmlInputFile.cs:
  594. * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
  595. * System.Web.UI.HtmlControls/HtmlInputImage.cs:
  596. * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
  597. * System.Web.UI.HtmlControls/HtmlInputText.cs:
  598. * System.Web.UI.HtmlControls/HtmlSelect.cs:
  599. * System.Web.UI.HtmlControls/HtmlTable.cs:
  600. * System.Web.UI.HtmlControls/HtmlTableCell.cs:
  601. * System.Web.UI.HtmlControls/HtmlTableRow.cs:
  602. * System.Web.UI.HtmlControls/HtmlTextArea.cs:
  603. Fixes based on class status page:
  604. - Add attributes (DefaultEvent, ParseChildren).
  605. - Fix declarations.
  606. - Explicitly implement some interfaces (IPostBackDataHandler
  607. and IPostBackEventHandler).
  608. - Implemented some missing methods.
  609. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  610. * HtmlForm.cs:
  611. (RenderChildren): use OnFormRender and OnFormPostRender.
  612. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  613. * HtmlSelect.cs:
  614. (RenderAttributes): new -> override and fixes stack overflow.
  615. (RenderChildren): only 1 option can be selected at any given time
  616. except when Multiple property is true.
  617. (Multiple): the attribute value is either "true" or "false", not
  618. "multiple".
  619. * HtmlTable.cs:
  620. (Add):
  621. (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
  622. * HtmlTableCell.cs:
  623. (RenderEndTag): new -> override.
  624. * HtmlTableRow.cs:
  625. (RenderChildren): fixed another stack overflow.
  626. (RenderEndTag): new -> override.
  627. * HtmlTextArea.cs:
  628. (RenderAttributes): new -> override.
  629. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  630. * HtmlInputHidden.cs: fixed constructor.
  631. * HtmlInputRadioButton.cs:
  632. (RenderAttributes): fixed stack overflow.
  633. (Name):
  634. (RenderedName): new -> override.
  635. (Value): new property.
  636. * HtmlInputText.cs:
  637. (RenderAttributes): fixed the same kind of stack overflow and make
  638. string comparison case insensitive.
  639. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  640. * HtmlForm.cs: fixed name of Enctype property and render enctype
  641. enctype attribute.
  642. * HtmlInputControl.cs: tag type is "input", not "type".
  643. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  644. * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
  645. defined in MS docs.
  646. * HtmlForm.cs: Render output when no IE browser.
  647. * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
  648. though now it always use the other .ctor.
  649. * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
  650. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  651. * HtmlButton.cs: RenderAttributes is an override, not new.
  652. * HtmlContainerControl.cs: use the new Render method in HtmlControl.
  653. * HtmlControl.cs: added Render method to render the tag and its
  654. attributes. Works for container and non-containers.
  655. * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
  656. Height property.
  657. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  658. * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
  659. instead of Page.Server to encode InnerText.
  660. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  661. * HtmlAnchor.cs:
  662. (RenderAttributes): new -> override and fixed little bug that made
  663. it cause an stack overflow.
  664. * HtmlContainerControl.cs: reformatted and added tag and attributes
  665. rendering.
  666. * HtmlGenericControl.cs: removed TagName, which is already in
  667. HtmlControl.
  668. * HtmlTable.cs:
  669. (RenderEndTag): new -> override.
  670. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  671. * System.Web.UI.HtmlControls/HtmlForm.cs:
  672. (RenderAttributes): changed new by override.
  673. (Name): allow setting the property.
  674. 2002-05-10 Duncan Mak <[email protected]>
  675. * HtmlTableCellCollection.cs (this): Updated the indexer to return
  676. the right type, HtmlTableCell instead of HtmlTableRow.
  677. * HtmlInputImage.cs (OnServerClick): Commented out parts that
  678. won't compile.
  679. * HtmlForm.cs (RenderAttributes):
  680. (RenderChildren): Commented out code that doesn't compile.
  681. 2002-05-07 Duncan Mak <[email protected]>
  682. * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
  683. clashing with the method defined in the parent class.
  684. (OnDataBinding): Added missing casts.
  685. * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
  686. 'this' to IAttributeAccessor before calling interface method.
  687. Also renamed some calls to reflect changes in the API.
  688. * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
  689. fixed a typo.
  690. 2001-09-03 Leen Toelen <[email protected]>
  691. * HtmlAnchor.cs: Initial implementation.
  692. * HtmlTextArea.cs: Initial implementation.
  693. 2001-08-22 Bob Smith <[email protected]>
  694. * HtmlContainerControl.cs: Initial implementation.
  695. * HtmlControl.cs: Initial implementation.
  696. * HtmlGenericControl.cs: Initial implementation.