ChangeLog 35 KB

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