ChangeLog 34 KB

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