ChangeLog 35 KB

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