ChangeLog 36 KB

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