ChangeLog 31 KB

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