2
0

ChangeLog 34 KB

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