ChangeLog 32 KB

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