ChangeLog 47 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481
  1. 2009-11-13 Marek Habersack <[email protected]>
  2. * HtmlForm.cs: reverted part of the previous patch - action is not
  3. set to the result of calling ResolveClientUrl(action)
  4. anymore. Fixes bug #554324
  5. 2009-10-30 Marek Habersack <[email protected]>
  6. * HtmlForm.cs: action is built using Request.ClientFilePath
  7. (instead of Request.FilePath) and ResolveClientUrl, so that it's
  8. correct even if url rewriting is being used.
  9. 2009-09-30 Gonzalo Paniagua Javier <[email protected]>
  10. * HtmlSelectBuilder.cs: <option> allows the value of the 'selected'
  11. attribute to be a boolean or the string "selected", which is treated
  12. as "true".
  13. 2009-06-16 Marek Habersack <[email protected]>
  14. * HtmlHeadBuilder.cs: use faster String.Compare overloads.
  15. * HtmlHead.cs: implemented 4.0 properties Description and
  16. Keywords.
  17. 2009-06-11 Gonzalo Paniagua Javier <[email protected]>
  18. * HtmlTitle.cs: HtmlTitle allows children that are not
  19. LiteralControls. Fixes bug #511882.
  20. 2009-05-15 Marek Habersack <[email protected]>
  21. * HtmlForm.cs: if application isn't running on /, make sure we
  22. generate the correct relative path for the action form attribute.
  23. 2009-04-15 Gonzalo Paniagua Javier <[email protected]>
  24. * HtmlInputText.cs: make sure we're inside a Page before dereferencing
  25. it.
  26. 2008-11-06 Marek Habersack <[email protected]>
  27. * HtmlForm.cs: added the undocumented, but supported, Action
  28. attribute. Fixes bug #442104
  29. 2008-10-17 Marek Habersack <[email protected]>
  30. * HtmlInputHidden.cs: validate the event in LoadPostDataInternal.
  31. * HtmlInputButton.cs: validate the event in
  32. RaisePostBackEventInternal ().
  33. Register for event validation in RenderAttributes ()
  34. * HtmlTextArea.cs: validate the event in
  35. RaisePostBackDataChangedEvent ().
  36. * HtmlButton.cs: validate the event in RaisePostBackEvent ().
  37. Register for event validation in RenderAttributes ()
  38. * HtmlAnchor.cs: validate the event in RaisePostBackEvent ().
  39. Register for event validation in RenderAttributes ().
  40. * HtmlInputRadioButton.cs, HtmlSelect.cs: validate the event in
  41. LoadPostData.
  42. * HtmlInputText.cs, HtmlInputImage.cs, HtmlInputCheckBox.cs,
  43. HtmlInputPassword.cs: validate the event in
  44. RaisePostDataChangedEvent ().
  45. 2008-10-07 Christian Hergert <[email protected]>
  46. * HtmlImage.cs: Do not render the src attribute if it is null or empty.
  47. An empty src attribute makes browsers download the current page url as
  48. the url of the image.
  49. 2008-08-29 Marek Habersack <[email protected]>
  50. * HtmlHead.cs: call base.OnInit ()
  51. If Page is null, throw an exception.
  52. 2008-07-25 Dean Brettle <[email protected]>
  53. * HtmlControl.cs (PreProcessRelativeReference),
  54. HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
  55. HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
  56. Encode attributes that could contain HTML special chars.
  57. * HtmlSelect (RenderChildren): HTML-encode option text.
  58. 2008-06-30 Marek Habersack <[email protected]>
  59. * HtmlForm.cs: hush the warnings
  60. 2008-06-08 Gert Driesen <[email protected]>
  61. * HtmlAnchor.cs: Do not render empty name, target or title attribute.
  62. Removed extra check for target attribute in RenderAttributes. Use
  63. string.Empty instead of "", and check string's Length instead of
  64. comparison with "" or string.Empty. Minor code formatting.
  65. 2008-06-04 Juraj Skripksy <[email protected]>
  66. * HtmlAnchor.cs (Render): Add missing call to
  67. ClientScriptManager.RegisterForEventValidation. Fixes bug #397142.
  68. 2008-06-04 Juraj Skripsky <[email protected]>
  69. * HtmlAnchor.cs: Do not render an empty href attribute.
  70. Fixes bug #397046.
  71. 2008-02-13 Vladimir Krasnov <[email protected]>
  72. * HtmlForm.cs: fixed action attribute in RenderAttributes under
  73. TARGET_JVM
  74. 2008-02-06 Marek Habersack <[email protected]>
  75. * HtmlMeta.cs: render XHTML compliant tag if not in the Legacy
  76. mode. Fixes bug #354425
  77. 2008-01-17 Igor Zelmanovich <[email protected]>
  78. * HtmlSelect.cs: refactoring.
  79. 2008-01-17 Igor Zelmanovich <[email protected]>
  80. * HtmlSelect.cs: fix databinding (only 2.0), state management.
  81. 2008-01-14 Sebastien Pouliot <[email protected]>
  82. * HtmlSelect.cs: Fix infinite recursion (only in 2.0) found using
  83. Gendarme.
  84. 2007-01-07 Igor Zelmanovich <[email protected]>
  85. * HtmlForm.cs: refactoring.
  86. 2007-12-13 Marek Habersack <[email protected]>
  87. * HtmlForm.cs, HtmlButton.cs: speed optimization - use String.Concat
  88. instead of String.Format in some cases.
  89. 2007-11-07 Juraj Skripsky <[email protected]>
  90. * HtmlForm.cs (RenderAttributes): Render ClientID of DefaultButton.
  91. Fixes bug #339426 for master pages.
  92. 2007-11-06 Marek Habersack <[email protected]>
  93. * HtmlForm.cs: a small DetermineRenderUplevel optimization - the
  94. result is now cached in a nullable boolean variable.
  95. Render the 'onkeypress' attribute if DefaultButton is used. Fixes
  96. bug #339426.
  97. 2007-08-27 Marek Habersack <[email protected]>
  98. * HtmlForm.cs: make sure the ID is set before HtmlControls renders
  99. the attributes. Fixes bug #82596
  100. 2007-08-05 Vladimir Krasnov <[email protected]>
  101. * HtmlHead.cs: refactoring, used AddAttribute overload without encoding
  102. on known attribute values
  103. 2007-07-31 Vladimir Krasnov <[email protected]>
  104. * HtmlControl.cs: fixed PreProcessRelativeReference, should be used
  105. ResolveClientUrl
  106. 2007-07-16 Marek Habersack <[email protected]>
  107. * HtmlHeadBuilder.cs: the <meta> tag should be supported as well.
  108. * HtmlTitle.cs: if the tag has any children, or the render method
  109. delegate has been defined, render the children. Output the
  110. contents of Text otherwise. Fixes bug #82102
  111. 2007-05-08 Marek Habersack <[email protected]>
  112. * HtmlInputButton.cs: button of type 'reset' does not invoke
  113. OnServerClick event.
  114. 'reset' buttons clear all the controls in the form to their
  115. default values.
  116. 2007-05-04 Marek Habersack <[email protected]>
  117. * HtmlAnchor.cs: use ResolveClientUrl when generating
  118. attributes. Necessary if the control is in a master page which is
  119. in a different directory than the current page.
  120. 2007-05-01 Marek Habersack <[email protected]>
  121. * HtmlForm.cs: do not use User-Agent directly, we must take
  122. ClientTarget into account.
  123. 2007-04-27 Marek Habersack <[email protected]>
  124. * HtmlHeadBuilder.cs: support <link> tags - we need to map virtual
  125. paths that might happen in them.
  126. 2007-04-18 Igor Zelmanovich <[email protected]>
  127. * HtmlForm.cs: for TARGET_J2EE:
  128. used Page.Request.Browser to determine RenderUplevel
  129. 2007-04-17 Marek Habersack <[email protected]>
  130. * HtmlForm.cs: use the new uplevel browser detection code.
  131. 2007-04-11 Marek Habersack <[email protected]>
  132. * HtmlInputHidden.cs:
  133. * HtmlSelect.cs:
  134. * HtmlInputText.cs:
  135. * HtmlSelect.cs:
  136. * HtmlInputText.cs:
  137. * HtmlInputImage.cs:
  138. * HtmlInputFile.cs:
  139. * HtmlInputCheckBox.cs:
  140. * HtmlInputRadioButton.cs:
  141. * HtmlInputImage.cs: do not register the control for post back
  142. processing or if it's disabled.
  143. 2007-04-06 Marek Habersack <[email protected]>
  144. * HtmlForm.cs: render the 'name' attribute only when in non-xhtml
  145. compliant mode.
  146. 2007-02-19 Igor Zelmanovich <[email protected]>
  147. * HtmlInputCheckBox.cs:
  148. * HtmlInputControl.cs:
  149. * HtmlInputHidden.cs:
  150. * HtmlInputRadioButton.cs:
  151. * HtmlInputText.cs:
  152. * HtmlSelect.cs:
  153. * HtmlTextArea.cs:
  154. fixed: Form.SubmitDisabledControls feature:
  155. not all HtmlInputControl need to be reenabled on client.
  156. 2007-02-18 Eyal Alaluf <[email protected]>
  157. * HtmlForm.cs: Under TARGET_J2EE use Page.RenderResponse instead of
  158. GetRenderResponse.
  159. 2007-01-20 Miguel de Icaza <[email protected]>
  160. * HtmlHead.cs: comment out unused code, in particular metadata is
  161. commented out because nothing could have triggered its creation.
  162. * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.
  163. 2007-01-16 Vladimir Krasnov <[email protected]>
  164. * HtmlLink.cs: fixed RenderAttributes, href should be resolved
  165. 2007-01-14 Eyal Alaluf <[email protected]>
  166. * HtmlForm.cs, HtmlAnchor.cs: Added J2EE Portal support for TARGET_J2EE.
  167. 2007-01-14 Eyal Alaluf <[email protected]>
  168. * HtmlInputImage.cs: to handle correctly relative URLs to the image.
  169. 2007-01-07 Igor Zelmanovich <[email protected]>
  170. * HtmlInputRadioButton.cs: fixed: LoadPostData.
  171. 2007-01-07 Igor Zelmanovich <[email protected]>
  172. * HtmlImputImage.cs: fixed: OnServerClick.
  173. 2006-12-27 Gonzalo Paniagua Javier <[email protected]>
  174. * HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
  175. bug #76974.
  176. 2006-11-27 Igor Zelmanovich <[email protected]>
  177. * HtmlForm.cs: refactoring: Registering of client scripts
  178. moved to Page.
  179. 2006-11-17 Marek Habersack <[email protected]>
  180. * HtmlInputHidden.cs: Added support for event validation.
  181. * HtmlInputCheckBox.cs: Added support for event validation.
  182. * HtmlInputImage.cs: Added support for event validation.
  183. * HtmlInputButton.cs: Added support for event validation.
  184. * HtmlSelect.cs: Added support for event validation.
  185. * HtmlTextArea.cs: Added support for event validation.
  186. * HtmlButton.cs: Added support for event validation.
  187. * HtmlInputRadioButton.cs: Added support for event validation.
  188. * HtmlInputText.cs: Added support for event validation.
  189. 2006-11-13 Igor Zelmanovich <[email protected]>
  190. * HtmlContainerControl.cs: fixed: InnerHtml property
  191. 2006-09-18 Igor Zelmanovich <[email protected]>
  192. * HtmlHead.cs:
  193. HtmlTitle control is created if it was not declared in .aspx
  194. 2006-09-17 Igor Zelmanovich <[email protected]>
  195. * HtmlButton.cs:
  196. make rendering of the onclick attribute to consider ValidationGroup property
  197. 2006-09-17 Igor Zelmanovich <[email protected]>
  198. * HtmlInputImage.cs:
  199. make rendering of the onclick attribute to consider ValidationGroup property
  200. 2006-09-17 Igor Zelmanovich <[email protected]>
  201. * HtmlInputButton.cs:
  202. make rendering of the onclick attribute to consider ValidationGroup property
  203. 2006-09-17 Igor Zelmanovich <[email protected]>
  204. * HtmlAnchor.cs:
  205. implemented CausesValidation and ValidationGroup properties
  206. 2006-09-10 Vladimir Krasnov <[email protected]>
  207. * HtmlInputFile.cs: fixed Value property
  208. 2006-08-23 Gonzalo Paniagua Javier <[email protected]>
  209. * HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.
  210. 2006-08-08 Vladimir Krasnov <[email protected]>
  211. * HtmlTable.cs:
  212. * HtmlTableRow.cs: fixed ParseChildren attribute to be compliant
  213. to .net
  214. 2006-07-12 Andrew Skiba <[email protected]>
  215. * HtmlInputControl.cs: remove obsolete #if NET_2_0
  216. 2006-06-06 Juraj Skripsky <[email protected]>
  217. * HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
  218. Fixes bug #78591.
  219. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  220. * HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
  221. bug #78074.
  222. 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
  223. * HtmlInputRadioButton.cs: Value returns the ID only when there's no
  224. "value" set. Fixes bug #78101.
  225. 2006-03-19 Vladimir Krasnov <[email protected]>
  226. * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty
  227. it shouldn't be rendered
  228. * HtmlForm.cs: fixed Method, default method "post" should be added if
  229. its value null or empty string
  230. * HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null
  231. value, the fix is to remove attributes with empty string value too
  232. 2006-02-23 Chris Toshok <[email protected]>
  233. * HtmlButton.cs: fix corcompare output.
  234. * HtmlInputButton.cs: same.
  235. * HtmlInputImage.cs: same.
  236. * HtmlInputReset.cs: same.
  237. 2006-01-22 Chris Toshok <[email protected]>
  238. * HtmlInputButton.cs:
  239. s/GetPostBackClientEvent/GetPostBackEventReference.
  240. 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
  241. * HtmlTableRow.cs: Cells is virtual in latest 1.1.
  242. 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
  243. * HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
  244. for cells.
  245. * HtmlTable.cs: moved WriteLine around.
  246. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  247. * HtmlForm.cs: more class-status fixes.
  248. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  249. * HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.
  250. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  251. * HtmlTable.cs: use the base class RenderChildren, as '_rows'
  252. might not be the actual collection being used. Fixes bug #76815.
  253. 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
  254. * HtmlInputFile.cs: if no one else set the encoding type for the
  255. containing form and there's a HtmlInputFile, set Enctype to
  256. 'multipart/form-data'. Fixes bug #76837.
  257. 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
  258. * HtmlInputButton.cs: render the onclick attribute only when the
  259. button is a 'submit' and no validators or when the button is a
  260. 'button' and there's a registered ServerClick event. Fixes bug #76781.
  261. 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
  262. * HtmlForm.cs: register the form and require viewstate hidden field to
  263. be rendered in Render() even if OnInit is not called.
  264. 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
  265. * HtmlHead.cs: fix the 2.0 build.
  266. 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
  267. * HtmlForm.cs: when transfering from one page to another and using
  268. cookieless session, we were doing pretty bad. Now, if the current path
  269. and the original are the same, we just use the filename. Otherwise
  270. we make the action location be relative to the original URL.
  271. 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
  272. * HtmlInputButton.cs: render the onclick for doing a postback even when
  273. there are no validators.
  274. 2005-09-19 Sebastien Pouliot <[email protected]>
  275. * HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
  276. 2005-09-19 Sebastien Pouliot <[email protected]>
  277. * HtmlAnchor.cs: Added [SupportsEventValidation] on class and
  278. [UrlProperty] on HRef property for 2.0.
  279. * HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
  280. * HtmlHead.cs: Remove IPageHeader interface.
  281. * HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
  282. * HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
  283. * HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
  284. * HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
  285. * HtmlInputImage.cs: Added [SupportsEventValidation] on class and
  286. [UrlProperty] on Src property for 2.0.
  287. * HtmlInputPassword.cs: Added [SupportsEventValidation].
  288. * HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
  289. * HtmlInputReset.cs: Added [SupportsEventValidation].
  290. * HtmlInputSubmit.cs: Added [SupportsEventValidation].
  291. * HtmlInputText.cs: Added [SupportsEventValidation] on class and
  292. re-enabled RenderAttribute for 2.0.
  293. * HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
  294. * HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
  295. * HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.
  296. 2005-09-18 Chris Toshok <[email protected]>
  297. * HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
  298. instead of AddAttribute when dealing with "onclick."
  299. 2005-09-14 Sebastien Pouliot <[email protected]>
  300. * HtmlHead.cs: Fixed parameter orders for CreateStyleRule.
  301. 2005-09-11 Chris Toshok <[email protected]>
  302. * HtmlInputFile.cs (set_Value): add a message to the
  303. NotSupportedException.
  304. * HtmlInputControl.cs (RenderAttributes): add Page != null to the
  305. checks before we register our control with the
  306. __enabledControlArray JS array.
  307. 2005-09-09 Chris Toshok <[email protected]>
  308. * HtmlInputButton.cs (CausesValidation): this is stored in
  309. Attributes, not ViewState.
  310. (ValidationGroup): same.
  311. (RenderAttributes): remove CausesValidation from the list of
  312. Attributes before calling base.RenderAttributes. Don't, however,
  313. remove ValidationGroup, to replicate an MS bug.
  314. 2005-09-07 Chris Toshok <[email protected]>
  315. * HtmlForm.cs (DefaultFocus): not stored in Attributes either.
  316. (Name): not sure about this property.. the getter apparently just
  317. returns UniqueID, and the setter does nothing that I can figure
  318. out.
  319. (RenderAttributes): don't bother to remove "name", since it's not
  320. in the attributes anyway.
  321. 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
  322. * HtmlInputControl.cs: use the Name property instead of the ClientID.
  323. The 'name' attribute rendered contains colons if inside a
  324. NamingContainer.
  325. 2005-09-07 Chris Toshok <[email protected]>
  326. * HtmlInputCheckBox.cs (Checked): uncomment the
  327. MinimizableAttributeTypeConverter attribute.
  328. * HtmlControl.cs (Disabled): uncomment the
  329. MinimizableAttributeTypeConverter attribute.
  330. * HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
  331. * HtmlTableCell.cs (NoWrap): uncomment the
  332. MinimizableAttributeTypeConverter attribute.
  333. * HtmlLink.cs (Href): remove the MonoTODO.
  334. * HtmlMeta.cs (Name): remove the MonoTODO.
  335. (Scheme): same.
  336. (Render): add (pretty bogus, really..) implementation. not sure
  337. why we need this one.
  338. 2005-09-06 Chris Toshok <[email protected]>
  339. * HtmlInputControl.cs (RenderAttributes): Check Page.Form for
  340. null.
  341. 2005-09-06 Chris Toshok <[email protected]>
  342. * HtmlInputControl.cs (RenderAttributes): use ClientID instead of
  343. ID.
  344. 2005-09-06 Chris Toshok <[email protected]>
  345. * HtmlHead.cs (AddParsedSubObject): nuke, not in corcompare.
  346. (AddedControl): move the HtmlTitle logic here.
  347. (RemovedControl): clear out the title if that was the control that
  348. was removed.
  349. * HtmlLink.cs: new implementation.
  350. * HtmlMeta.cs: new implementation.
  351. 2005-09-06 Chris Toshok <[email protected]>
  352. * HtmlInputControl.cs (RenderAttributes): add ourselves to the
  353. __enabledControlArray JS array if we're currently enabled and the
  354. form is set to SubmitDisabledControls.
  355. * HtmlForm.cs (OnInit): call Page.RegisterForm here.
  356. (DetermineRenderUplevel): split this out of OnPreRender and make
  357. it internal so HtmlInputControl can call it.
  358. (OnPreRender): add handling for SubmitDisabledControls.
  359. 2005-09-05 Chris Toshok <[email protected]>
  360. * HtmlForm.cs (DefaultButton): this isn't stored as an Attribute,
  361. or in the ViewState. where then?
  362. (DefaultFocus): this one is stored in the ViewState, not as an
  363. Attribute.
  364. (SubmitDisabledControls): implement just as a boolean flag, not in
  365. the viewstate or attributes.
  366. (RenderAttributes): defaultfocus and defaultbutton are no longer
  367. in Attributes.
  368. 2005-09-04 Chris Toshok <[email protected]>
  369. * HtmlInputButton: Fix the 2.0/1.0 postback stuff the right way.
  370. * HtmlInputCheckBox: Fix the 2.0/1.0 postback stuff the right way.
  371. * HtmlInputFile.cs: Fix the 2.0/1.0 postback stuff the right way.
  372. * HtmlInputHidden.cs: Fix the 2.0/1.0 postback stuff the right
  373. way, and in OnPreRender, call Page.RegisterRequiresPostback.
  374. * HtmlInputImage.cs: Fix the 2.0/1.0 postback stuff the right way,
  375. and in OnPreRender, call Page.RegisterRequiresPostback.
  376. * HtmlInputRadioButton.cs (OnPreRender): call
  377. Page.RegisterRequiresPostback.
  378. * HtmlInputText.cs: Fix the 2.0/1.0 postback stuff the right way.
  379. Also, in OnPreRender, call Page.RegisterRequiresPostback.
  380. * HtmlTextArea.cs (OnPreRender): call
  381. Page.RegisterRequiresPostback.
  382. 2005-09-02 Chris Toshok <[email protected]>
  383. * HtmlSelect.cs: implement 2.0 DataSourceID data binding.
  384. 2005-09-02 Chris Toshok <[email protected]>
  385. * HtmlInputReset.cs (ValidationGroup): remove the MonoTODO.
  386. * htmlinputimage.cs: implement the 2.0 versions of loadpostdata,
  387. raisepostdatachangedevent, and raisepostbackevent.
  388. (validationgroup): implement.
  389. * htmlinputcheckbox.cs: implement the 2.0 versions of loadpostdata
  390. and raisepostdatachangedevent.
  391. * HtmlInputHidden.cs: implement the 2.0 versions of LoadPostData
  392. and RaisePostDataChangedEvent.
  393. * HtmlInputButton.cs (RaisePostBackEventInternal): split out the
  394. body of both RaisePostBackEvent impl's here, and fix it up so we
  395. use the property Page.Validate call in 2.0.
  396. (RaisePostBackEvent): call RaisePostBackEventInternal.
  397. (IPostBackEventHandler.RaisePostBackEvent): same.
  398. * HtmlImage.cs (Align): the test case shows that we don't need to
  399. validate input.
  400. 2005-09-01 Sebastien Pouliot <[email protected]>
  401. * HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
  402. HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
  403. HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
  404. HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
  405. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
  406. HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
  407. HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
  408. HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
  409. HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
  410. attributes AspNetHostingPermission for Minimal level on all classes
  411. (LinkDemand) and for non-sealed classes (InheritanceDemand).
  412. 2005-08-29 Chris Toshok <[email protected]>
  413. * System.Web.UI.HtmlControls/HtmlTableCell.cs,
  414. System.Web.UI.HtmlControls/HtmlInputFile.cs,
  415. System.Web.UI.HtmlControls/HtmlForm.cs,
  416. System.Web.UI.HtmlControls/HtmlInputText.cs,
  417. System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
  418. System.Web.UI.HtmlControls/HtmlAnchor.cs,
  419. System.Web.UI.HtmlControls/HtmlButton.cs,
  420. System.Web.UI.HtmlControls/HtmlTextArea.cs,
  421. System.Web.UI.HtmlControls/HtmlGenericControl.cs,
  422. System.Web.UI.HtmlControls/HtmlSelect.cs,
  423. System.Web.UI.HtmlControls/HtmlTableRow.cs,
  424. System.Web.UI.HtmlControls/HtmlControl.cs,
  425. System.Web.UI.HtmlControls/HtmlImage.cs,
  426. System.Web.UI.HtmlControls/HtmlTable.cs,
  427. System.Web.UI.HtmlControls/HtmlInputButton.cs,
  428. System.Web.UI.HtmlControls/HtmlInputControl.cs,
  429. System.Web.UI.HtmlControls/HtmlInputImage.cs,
  430. System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
  431. System.Web.UI.HtmlControls/HtmlInputHidden.cs,
  432. System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
  433. attributes.
  434. 2005-08-29 Chris Toshok <[email protected]>
  435. * HtmlInputSubmit.cs: new implementation.
  436. * HtmlInputReset.cs (ValidationGroup): implement
  437. * HtmlInputButton.cs (ValidationGroup): implement.
  438. 2005-08-29 Chris Toshok <[email protected]>
  439. * HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.
  440. * HtmlForm.cs: same.
  441. 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
  442. * HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
  443. but not used. Call ResolveUrl when rendering the attributes instead.
  444. 2005-08-28 Chris Toshok <[email protected]>
  445. * HtmlHeadBuilder.cs: this is public.
  446. * HtmlSelectBuilder.cs: in 2.0 this is public.
  447. * HtmlInputButton.cs: fix boilerplate.
  448. * HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
  449. (IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
  450. Page.Validation(ValidationGroup).
  451. 2005-08-28 Chris Toshok <[email protected]>
  452. * HtmlInputReset.cs: mostly complete implementation.
  453. 2005-08-28 Chris Toshok <[email protected]>
  454. * HtmlInputPassword.cs: doh, make this NET_2_0 only.
  455. 2005-08-28 Chris Toshok <[email protected]>
  456. * HtmlInputPassword.cs: implement.
  457. 2005-08-28 Chris Toshok <[email protected]>
  458. * HtmlImage.cs: corcompare fixes.
  459. * HtmlInputCheckBox.cs: same.
  460. 2005-08-27 Chris Toshok <[email protected]>
  461. * HtmlControl.cs (GetAttribute, SetAttribute): implement.
  462. 2005-08-27 Chris Toshok <[email protected]>
  463. * HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
  464. (OnPreRender): figure out (hackishly) if we're uplevel rendering.
  465. If we have a default button/focus control set, register webform.js
  466. as a client script block, and emit some JS to focus the control.
  467. (RenderAttributes): verify that the DefaultButton attribute points
  468. to a valid IButtonControl implementing control. Also remove the
  469. defaultfocus/defaultbutton attributes before calling
  470. base.RenderAttributes.
  471. 2005-08-27 Kornél Pál <[email protected]>
  472. * HtmlTableCell.cs: Fixed to use Consts.
  473. 2005-08-26 Chris Toshok <[email protected]>
  474. * HtmlButton.cs (ValidationGroup): implement.
  475. (RaisePostBackEvent): gross #ifdef-iry to make sure we only have
  476. one body of the actual RaisePostBackEvent code. Also, call
  477. Page.Validate(ValidationGroup) in the 2.0 case.
  478. 2005-08-25 Miguel de Icaza <[email protected]>
  479. * HtmlHead.cs: Implement constructor, pass the tag.
  480. 2005-08-25 Sebastien Pouliot <[email protected]>
  481. * HtmlHead.cs: Fixed base class (to HtmlGenericControl).
  482. 2005-08-25 Chris Toshok <[email protected]>
  483. * HtmlForm.cs (CreateControlCollection, OnPreRender,
  484. RenderControl): implement naively, just calling base.Method.
  485. 2005-08-25 Chris Toshok <[email protected]>
  486. * HtmlForm.cs (RenderAttributes): don't strip off the stuff after
  487. the last '/' when rendering the action. Fixes comments in
  488. nGallery.
  489. 2005-08-24 Chris Toshok <[email protected]>
  490. * HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  491. HtmlInputImage.cs, HtmlForm.cs, HtmlInputCheckBox.cs,
  492. HtmlInputHidden.cs, HtmlButton.cs, HtmlSelect.cs, HtmlControl.cs:
  493. Add MonoTODO's for all NotImplementedException's.
  494. 2005-08-18 Dick Porter <[email protected]>
  495. * HtmlTable.cs, HtmlInputButton.cs, HtmlInputFile.cs, HtmlHead.cs,
  496. HtmlInputImage.cs, HtmlForm.cs, HtmlInputText.cs,
  497. HtmlInputCheckBox.cs, HtmlAnchor.cs, HtmlInputRadioButton.cs,
  498. HtmlButton.cs, HtmlInputHidden.cs, HtmlTextArea.cs,
  499. HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlTitle.cs,
  500. HtmlContainerControl.cs: 2.0 API fixes and stubs and attribute fixes
  501. 2005-08-15 Sebastien Pouliot <[email protected]>
  502. * HtmlInputRadioButton.cs, HtmlInputText.cs, HtmlTextArea.cs: Renamed
  503. Load method (bad choice) to DefaultLoadPostData.
  504. 2005-08-15 Sebastien Pouliot <[email protected]>
  505. * HtmlAnchor.cs: Fixed protected RaisePostBackEvent in 2.0.
  506. * HtmlInputRadioButton.cs: Fixed Value property and LoadPostData
  507. method. Fixed support for protected LoadPostData and
  508. RaisePostDataChangedEvent in 2.0 (recursion).
  509. * HtmlInputText.cs: Fixed LoadPostData. Fixed support for protected
  510. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  511. * HtmlTextArea.cs: Fixed LoadPostData. Fixed support for protected
  512. LoadPostData and RaisePostDataChangedEvent in 2.0 (recursion).
  513. 2005-08-15 Sebastien Pouliot <[email protected]>
  514. * HtmlTableCell.cs: Added "string" [TypeConverter] attribute to NoWrap
  515. for 2.0 profile. The class seems to be internal and not (yet?)
  516. implemented.
  517. 2005-08-13 Sebastien Pouliot <[email protected]>
  518. * HtmlAnchor.cs: Add Localizable attribute to 2.0 profile.
  519. * HtmlEmptyTagControlBuilder.cs: New. ControlBuilder required for
  520. (at least) HtmlInputControl in 2.0 profile.
  521. * HtmlInputControl.cs: Use a new ControlBuilder class for 2.0 profile.
  522. * HtmlInputText.cs: Fix DefaultValue attribute for 2.0 profile.
  523. 2005-08-09 Dick Porter <[email protected]>
  524. * HtmlSelect.cs: Clear databindings when adding a new one; cope
  525. with assorted combinations of empty text and value fields; write
  526. <option> tags manually to match ms HTML output. All fix nunit
  527. tests.
  528. 2005-08-08 Sebastien Pouliot <[email protected]>
  529. * HtmlInputControl.cs: Remove code to handle password (wrong place)
  530. and fixed type handling for 2.0.
  531. * HtmlInputText.cs: Added code to remove (only in 1.x) the value when
  532. the type == password. Tests indicates that the value is present for
  533. 2.0.
  534. 2005-08-05 Dick Porter <[email protected]>
  535. * HtmlSelect.cs: Fix databinding when one or other of Name and
  536. Value aren't supplied (thanks to Peter for the patch); Make
  537. <option> indenting match ms output.
  538. 2005-07-30 Ben Maurer <[email protected]>
  539. * HtmlForm.cs: Make sure we actually put the "?" in the url
  540. 2005-07-29 Dick Porter <[email protected]>
  541. * HtmlForm.cs: Simplify the rendering code by using QueryStringRaw
  542. instead of building the query string by hand
  543. 2005-07-27 Dick Porter <[email protected]>
  544. * HtmlInputCheckBox.cs: New implementation
  545. 2005-07-26 Peter Dennis Bartok <[email protected]>
  546. * HtmlSelect.cs: Added missing attributes
  547. 2005-07-26 Dick Porter <[email protected]>
  548. * HtmlSelect.cs: New implementation
  549. 2005-07-26 Miguel de Icaza <[email protected]>
  550. * HtmlForm.cs: It is possible to have keys with no values in the
  551. query string, do not try to process those on the foreach loop.
  552. The question is: what should happen if I only get the key?
  553. Example: file_with_a_form.aspx?a
  554. 2005-07-25 Peter Dennis Bartok <[email protected]>
  555. * HtmlForml.cs: Implemented UniqueID (new in sp1)
  556. * HtmlButton.cs, HtmlInputButton.cs, HtmlInputImage.cs: Attribute fixes
  557. 2005-07-24 Dick Porter <[email protected]>
  558. * HtmlForm.cs: Add the trailing query string to the form action;
  559. fixes bug shown in Test/standalone/htmlform/qs_postback.aspx
  560. 2005-07-22 Dick Porter <[email protected]>
  561. * HtmlInputFile.cs: Add assembly attributes
  562. 2005-07-21 Dick Porter <[email protected]>
  563. * HtmlImage.cs: The src attribute needs to be a relative URL;
  564. close the HTML element when rendering attributes, to match the MS
  565. impl.
  566. * HtmlForm.cs: Added assembly attributes; don't render ID twice;
  567. don't render enctype and target if they are empty strings;
  568. implement a Render overload to keep corcompare quiet.
  569. 2005-07-20 Chris Toshok <[email protected]>
  570. * HtmlForm.cs (RenderAttributes): if there are submit statements,
  571. we need to render those.
  572. * HtmlInputImage.cs: same.
  573. * HtmlInputButton.cs: hook up the client validation stuff.
  574. * HtmlButton.cs: same, except a lot more complicated due to
  575. postback handling.
  576. 2005-07-19 Dick Porter <[email protected]>
  577. * HtmlImage.cs: Added attributes; use Int32.Parse instead of
  578. Convert.ToInt32
  579. 2005-07-18 Sebastien Pouliot <[email protected]>
  580. * HtmlInputControl.cs: Fix Type when using ctor(null). Now use
  581. ControlID for Name (and not ID). Added ControlBuilder attribute.
  582. * HtmlTable.cs: Simplify check when adding controls.
  583. * HtmlTableRow.cs: Simplify check when adding controls.
  584. 2005-07-18 Jackson Harper <[email protected]>
  585. * HtmlInputHidden.cs: Use Events Add/Remove. Add DefaultEvent
  586. attribute.
  587. 2005-07-15 Jackson Harper <[email protected]>
  588. * HtmlInputImage.cs: Use Events Add/Remove. Remove uneeded
  589. constant. Update fetching from viewstate code to use new
  590. convenience method.
  591. 2005-07-15 Jackson Harper <[email protected]>
  592. * HtmlInputButton.cs: Add DefaultEventAttribute.
  593. 2005-07-15 Sebastien Pouliot <[email protected]>
  594. * HtmlInputControl.cs: Removed internal property (no more required to
  595. compile).
  596. * HtmlInputRadioButton.cs: Optimized events.
  597. * HtmlInputText.cs: Optimized events.
  598. * HtmlTable.cs: Added CultureInfo.InvariantCulture when parsing
  599. strings to integers.
  600. * HtmlTableCell.cs: Added CultureInfo.InvariantCulture when parsing
  601. strings to integers.
  602. * HtmlTextArea.cs: Optimized events.
  603. 2005-07-15 Sebastien Pouliot <[email protected]>
  604. * HtmlAnchor.cs: Added URL resolution (doesn't get me the expected
  605. result) and fixed compatibility for a weird behaviour of the HRef
  606. attribute handling. Optimized events.
  607. 2005-07-14 Jackson Harper <[email protected]>
  608. * HtmlInputButton.cs: Use Events Add/Remove. Remove Causesvalidation
  609. string constant. Use new method for accessing ViewState
  610. data. Don't remove value from the view state if it is the default.
  611. 2005-07-14 Jackson Harper <[email protected]>
  612. * HtmlButton.cs: Use Events Add/Remove. Remove Causesvalidation
  613. string constant. Use new method for accessing ViewState
  614. data. Don't remove value from the view state if it is the default.
  615. 2005-07-14 Dick Porter <[email protected]>
  616. * HtmlInputFile.cs: New implementation
  617. 2005-07-14 Jackson Harper <[email protected]>
  618. * HtmlInputControl.cs: Use ClientID for input controls name.
  619. 2005-07-14 Dick Porter <[email protected]>
  620. * HtmlForm.cs: New Implementation
  621. 2005-07-13 Sebastien Pouliot <[email protected]>
  622. * HtmlTable.cs: Added missing attributes.
  623. * HtmlTableCell.cs: Added missing attributes except for ControlBuilder
  624. as the builder's type isn't public.
  625. * HtmlInputControl.cs: Added missing attributes.
  626. * HtmlInputText.cs: Added missing attributes.
  627. * HtmlInputRadioButton.cs: Added missing attributes.
  628. * HtmlAnchor.cs: Added missing attributes.
  629. * HtmlTextArea.cs: Added missing attributes.
  630. * HtmlTableRow.cs: Added missing attributes.
  631. 2005-07-12 Sebastien Pouliot <[email protected]>
  632. * HtmlAnchor.cs: Added DefaultValue attributes.
  633. * HtmlInputControl.cs: Added DefaultValue attributes.
  634. * HtmlInputRadioButton.cs: Added DefaultValue attributes.
  635. * HtmlInputText.cs: Added DefaultValue attributes. Added method
  636. RenderAttributes in 1.1 profile.
  637. * HtmlTable.cs: Fix DefaultValue to "".
  638. * HtmlTextArea.cs: Added DefaultValue attributes.
  639. 2005-07-12 Sebastien Pouliot <[email protected]>
  640. * HtmlTableCell.cs: Added DefaultValue attributes.
  641. * HtmlTable.cs: Added DefaultValue and ParseChildren attributes.
  642. * HtmlTableRowCollection.cs: Reworked collection to share data with
  643. HtmlTable.Controls.
  644. * HtmlTableCellCollection.cs: Reworked collection to share data with
  645. HtmlTableRow.Controls.
  646. * HtmlTableRow.cs: Added DefaultValue and ParseChildren attributes.
  647. 2005-07-09 Sebastien Pouliot <[email protected]>
  648. * HtmlTableRowCollection.cs: Fixed property name to IsReadOnly.
  649. 2005-07-08 Sebastien Pouliot <[email protected]>
  650. * HtmlTextArea.cs: Use CultureInfo.InvariantCulture in ToString ().
  651. 2005-07-08 Sebastien Pouliot <[email protected]>
  652. * HtmlContainerControl.cs: Fixed removal of attribute/viewstate for
  653. "innerhtml".
  654. * HtmlTextArea.cs: New implementation.
  655. 2005-07-07 Jackson Harper <[email protected]>
  656. * HtmlInputImage.cs: New implementation.
  657. 2005-07-07 Sebastien Pouliot <[email protected]>
  658. * HtmlAnchor.cs: protected RaisePostBackEvent is in 2.0 only.
  659. * HtmlInputControl.cs: New implementation.
  660. * HtmlInputRadioButton.cs: New implementation.
  661. * HtmlInputText.cs: New implementation.
  662. 2005-07-07 Jackson Harper <[email protected]>
  663. * HtmlInputHidden.cs: New implementation.
  664. 2005-07-07 Jackson Harper <[email protected]>
  665. * HtmlAnchor.cs: Call base OnPreRender from override.
  666. 2005-07-07 Jackson Harper <[email protected]>
  667. * HtmlInputButton.cs: New implementation.
  668. 2005-07-07 Dick Porter <[email protected]>
  669. * HtmlImage.cs: New implementation
  670. 2005-07-07 Sebastien Pouliot <[email protected]>
  671. * HtmlAnchor.cs: Fixed to remove attributes properly.
  672. * HtmlTable.cs: New implementation.
  673. * HtmlTableCell.cs: New implementation.
  674. * HtmlTableCellCollection.cs: New implementation.
  675. * HtmlTableRow.cs: New implementation.
  676. * HtmlTableRowCollection.cs: New implementation.
  677. 2005-07-06 Jackson Harper <[email protected]>
  678. * HtmlButton.cs: New implementation.
  679. 2005-07-06 Sebastien Pouliot <[email protected]>
  680. * HtmlAnchor.cs: New implementation.
  681. 2005-06-08 Gonzalo Paniagua Javier <[email protected]>
  682. * HtmlTableCell.cs:
  683. * HtmlControl.cs: updates for 1.1 SP1.
  684. 2005-05-20 Gonzalo Paniagua Javier <[email protected]>
  685. * HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
  686. number 74989.
  687. 2005-05-06 Lluis Sanchez Gual <[email protected]>
  688. * HtmlHead.cs: Fix warning.
  689. 2005-04-22 Lluis Sanchez Gual <[email protected]>
  690. * HtmlForm.cs: Use the new WriteSubmitStatements method from
  691. Page.ClientScript.
  692. 2005-03-11 Lluis Sanchez Gual <[email protected]>
  693. * HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
  694. Page.GetPostBackClientEvent since it is deprecated in 2.0.
  695. 2005-02-25 Lluis Sanchez Gual <[email protected]>
  696. * HtmlForm.cs: Register the form in the page, so the page knows
  697. which is the main form.
  698. 2005-02-18 Lluis Sanchez Gual <[email protected]>
  699. * HtmlHead.cs: Method name fix.
  700. 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
  701. * HtmlForm.cs: submitStatements holds Hashtables.
  702. 2004-12-20 Lluis Sanchez Gual <[email protected]>
  703. * HtmlHead.cs: Implemented.
  704. * HtmlHeadBuilder.cs: Implemented.
  705. * HtmlTitle.cs: Implemented.
  706. 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
  707. * HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.
  708. 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
  709. * HtmlForm.cs: fixed the Action property when running a different
  710. page than the one requested (Transfer). Closes bug #69318.
  711. 2004-11-26 Lluis Sanchez Gual <[email protected]>
  712. * HtmlForm.cs: Add submit statements from the new Page.ClientScript
  713. property.
  714. 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
  715. * HtmlForm.cs: disabled smartnavigation as we have no scripts to support
  716. it and failed when the browser was IE.
  717. 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
  718. * HtmlForm.cs: default value for Enctype is "".
  719. * HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
  720. we set it to "multipart/form-data". Fixes bug #58359.
  721. 2004-01-15 Alon Gazit <[email protected]>
  722. * HtmlForm.cs: The property name always return the value of the
  723. property UniqueID.
  724. 2003-12-28 Alon Gazit <[email protected]>
  725. * HtmlSelect.cs: fix typo in LoadPostData().
  726. 2003-12-29 Alon Gazit <[email protected]>
  727. * HtmlInputButton.cs: update the implementation of RenderAttributes().
  728. Change the if statement that determines if the onclick script is
  729. rendered.
  730. 2003-12-28 Alon Gazit <[email protected]>
  731. * HtmlSelect.cs: add parentheses to if statement.
  732. Currently the else statement refers to the inner if statement.
  733. 2003-12-28 Alon Gazit <[email protected]>
  734. * HtmlSelect.cs: fix upper bound of for statement.
  735. 2003-12-19 Jackson Harper <[email protected]>
  736. * HtmlInputFile.cs: Do not set value when loading post data.
  737. 2003-12-14 Alon Gazit <[email protected]>
  738. * HtmlInputButton.cs: The problem was in RenderAttributes().
  739. Before adding the script to the HTML, the number of Validators should
  740. be checked. fixes bug #52158.
  741. 2003-12-07 Alon Gazit <[email protected]>
  742. * HtmlTableCell.cs: fixing a typo in NoWrap property.
  743. 2003-12-04 Jackson Harper <[email protected]>
  744. * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
  745. value. This is because radio button groups are created by setting
  746. the name to the same value with each button, then on postback the
  747. value of the name is the id of the selected radio button.
  748. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  749. * HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.
  750. 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
  751. * HtmlSelect.cs: with the new LosFormatter, we get array types right, so
  752. remove the code used to workaround that.
  753. 2003-12-01 Jackson Harper <[email protected]>
  754. * HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
  755. <[email protected]>.
  756. 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
  757. * HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
  758. <[email protected]>. Fixes bug #51377.
  759. 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
  760. * HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
  761. <[email protected]>.
  762. 2003-10-29 Jackson Harper <[email protected]>
  763. * HtmlControl.cs: Make disabled an attribute of the control so it
  764. is rendered. This is a slightly modifed version of a patch
  765. by Yaron Shkop. Fixes bug #50160.
  766. 2003-10-16 Gonzalo Paniagua Javier <[email protected]>
  767. * HtmlTextArea.cs: fixed infinite recursion.
  768. 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
  769. * HtmlForm.cs: render the onsubmit attribute.
  770. 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
  771. * HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
  772. need to pass true here. Fixes bug #47918.
  773. 2003-07-17 Andreas Nahr <[email protected]>
  774. * HtmlContainerControl.cs: Added attributes
  775. * HtmlControl.cs: Added attributes
  776. * HtmlInputControl.cs: Fixed public signature
  777. * HtmlInputRadioButton.cs: Fixed public signature
  778. * HtmlSelect.cs: Added missing attribute
  779. * HtmlTable.cs: Added missing attribute
  780. 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
  781. * HtmlSelect.cs: fixed bug #44894.
  782. 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
  783. * HtmlImage.cs:
  784. * HtmlInputControl.cs:
  785. * HtmlSelect.cs: added control builder attribute.
  786. * HtmlSelectBuilder.cs: builder for HtmlSelect.
  787. * HtmlControlBuilder.cs: common builder for all HtmlControls.
  788. 2003-01-29 Gonzalo Paniagua Javier <[email protected]>
  789. * HtmlControl.cs: _tagName is now internal.
  790. * HtmlGenericControl.cs: use the field in HtmlControl to keep the tag
  791. name.
  792. 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
  793. * System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.
  794. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  795. * HtmlInputButton.cs: fixed bug #35677.
  796. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  797. * HtmlInputControl.cs: fixed bug #35673.
  798. 2003-01-03 Gonzalo Paniagua Javier <[email protected]>
  799. * HtmlInputText.cs: fixed bug #35670.
  800. 2002-11-12 Gonzalo Paniagua Javier <[email protected]>
  801. * HtmlSelect.cs: fixed LoadViewstate.
  802. 2002-11-07 Gonzalo Paniagua Javier <[email protected]>
  803. * HtmlButton.cs: make it do a POST if the button has any ServerClick
  804. events.
  805. 2002-09-23 Gonzalo Paniagua Javier <[email protected]>
  806. * HtmlAnchor.cs:
  807. * HtmlButton.cs:
  808. * HtmlContainerControl.cs:
  809. * HtmlControl.cs:
  810. * HtmlForm.cs:
  811. * HtmlGenericControl.cs:
  812. * HtmlImage.cs:
  813. * HtmlInputButton.cs:
  814. * HtmlInputCheckBox.cs:
  815. * HtmlInputControl.cs:
  816. * HtmlInputFile.cs:
  817. * HtmlInputHidden.cs:
  818. * HtmlInputImage.cs:
  819. * HtmlInputRadioButton.cs:
  820. * HtmlInputText.cs:
  821. * HtmlSelect.cs:
  822. * HtmlTable.cs:
  823. * HtmlTableCell.cs:
  824. * HtmlTableRow.cs:
  825. * HtmlTextArea.cs: added almost all missing attributes.
  826. 2002-07-20 Gonzalo Paniagua Javier <[email protected]>
  827. * HtmlControl.cs: the attributes must use ViewState as its StateBag,
  828. if not style values are lost between postbacks.
  829. 2002-07-17 Gonzalo Paniagua Javier <[email protected]>
  830. * HtmlAnchor.cs:
  831. * HtmlButton.cs:
  832. * HtmlInputButton.cs:
  833. * HtmlInputCheckBox.cs:
  834. * HtmlInputHidden.cs:
  835. * HtmlInputImage.cs:
  836. * HtmlInputText.cs:
  837. * HtmlTextArea.cs: Initialize EventHandlerList indexer.
  838. * HtmlContainerControl.cs: almost rewritten to use a LiteralControl
  839. instead of maintaining some flags and strings. Implemented
  840. LoadViewState.
  841. * HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
  842. * HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
  843. and Value.
  844. 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
  845. * HtmlGenericControl.cs: fixed TagName signature and get/set.
  846. * HtmlInputImage.cs: added attribute and fixed signature of ServerClick.
  847. * HtmlInputText.cs: added attribute.
  848. 2002-07-05 Gonzalo Paniagua Javier <[email protected]>
  849. * HtmlForm.cs: don't render action attribute.
  850. 2002-07-04 Gonzalo Paniagua Javier <[email protected]>
  851. * HtmlContainerControl.cs:
  852. (CreateControlCollection): added. All containers must have a non-empty
  853. control collection.
  854. 2002-06-30 Gonzalo Paniagua Javier <[email protected]>
  855. * System.Web.UI.HtmlControls/HtmlAnchor.cs:
  856. * System.Web.UI.HtmlControls/HtmlButton.cs:
  857. * System.Web.UI.HtmlControls/HtmlControl.cs:
  858. * System.Web.UI.HtmlControls/HtmlForm.cs:
  859. * System.Web.UI.HtmlControls/HtmlGenericControl.cs:
  860. * System.Web.UI.HtmlControls/HtmlInputButton.cs:
  861. * System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
  862. * System.Web.UI.HtmlControls/HtmlInputControl.cs:
  863. * System.Web.UI.HtmlControls/HtmlInputFile.cs:
  864. * System.Web.UI.HtmlControls/HtmlInputHidden.cs:
  865. * System.Web.UI.HtmlControls/HtmlInputImage.cs:
  866. * System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
  867. * System.Web.UI.HtmlControls/HtmlInputText.cs:
  868. * System.Web.UI.HtmlControls/HtmlSelect.cs:
  869. * System.Web.UI.HtmlControls/HtmlTable.cs:
  870. * System.Web.UI.HtmlControls/HtmlTableCell.cs:
  871. * System.Web.UI.HtmlControls/HtmlTableRow.cs:
  872. * System.Web.UI.HtmlControls/HtmlTextArea.cs:
  873. Fixes based on class status page:
  874. - Add attributes (DefaultEvent, ParseChildren).
  875. - Fix declarations.
  876. - Explicitly implement some interfaces (IPostBackDataHandler
  877. and IPostBackEventHandler).
  878. - Implemented some missing methods.
  879. 2002-06-24 Gonzalo Paniagua Javier <[email protected]>
  880. * HtmlForm.cs:
  881. (RenderChildren): use OnFormRender and OnFormPostRender.
  882. 2002-06-09 Gonzalo Paniagua Javier <[email protected]>
  883. * HtmlSelect.cs:
  884. (RenderAttributes): new -> override and fixes stack overflow.
  885. (RenderChildren): only 1 option can be selected at any given time
  886. except when Multiple property is true.
  887. (Multiple): the attribute value is either "true" or "false", not
  888. "multiple".
  889. * HtmlTable.cs:
  890. (Add):
  891. (AddAt): allow HtmlTableRow as children, not HtmlTableCell.
  892. * HtmlTableCell.cs:
  893. (RenderEndTag): new -> override.
  894. * HtmlTableRow.cs:
  895. (RenderChildren): fixed another stack overflow.
  896. (RenderEndTag): new -> override.
  897. * HtmlTextArea.cs:
  898. (RenderAttributes): new -> override.
  899. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  900. * HtmlInputHidden.cs: fixed constructor.
  901. * HtmlInputRadioButton.cs:
  902. (RenderAttributes): fixed stack overflow.
  903. (Name):
  904. (RenderedName): new -> override.
  905. (Value): new property.
  906. * HtmlInputText.cs:
  907. (RenderAttributes): fixed the same kind of stack overflow and make
  908. string comparison case insensitive.
  909. 2002-06-07 Gonzalo Paniagua Javier <[email protected]>
  910. * HtmlForm.cs: fixed name of Enctype property and render enctype
  911. enctype attribute.
  912. * HtmlInputControl.cs: tag type is "input", not "type".
  913. 2002-06-06 Gonzalo Paniagua Javier <[email protected]>
  914. * HtmlControl.cs: Render contents moved to new RenderBeginTag method,
  915. defined in MS docs.
  916. * HtmlForm.cs: Render output when no IE browser.
  917. * HtmlInputButton.cs: added constructor without arguments. Xsp used it,
  918. though now it always use the other .ctor.
  919. * HtmlInputControl.cs: cosmetic changes and implemented set_Name.
  920. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  921. * HtmlButton.cs: RenderAttributes is an override, not new.
  922. * HtmlContainerControl.cs: use the new Render method in HtmlControl.
  923. * HtmlControl.cs: added Render method to render the tag and its
  924. attributes. Works for container and non-containers.
  925. * HtmlImage.cs: RenderAttributes don't need to be new. Implemented
  926. Height property.
  927. 2002-06-05 Gonzalo Paniagua Javier <[email protected]>
  928. * HtmlContainerControl.cs: some formatting and use HttpUtility.Encode
  929. instead of Page.Server to encode InnerText.
  930. 2002-06-04 Gonzalo Paniagua Javier <[email protected]>
  931. * HtmlAnchor.cs:
  932. (RenderAttributes): new -> override and fixed little bug that made
  933. it cause an stack overflow.
  934. * HtmlContainerControl.cs: reformatted and added tag and attributes
  935. rendering.
  936. * HtmlGenericControl.cs: removed TagName, which is already in
  937. HtmlControl.
  938. * HtmlTable.cs:
  939. (RenderEndTag): new -> override.
  940. 2002-06-03 Gonzalo Paniagua Javier <[email protected]>
  941. * System.Web.UI.HtmlControls/HtmlForm.cs:
  942. (RenderAttributes): changed new by override.
  943. (Name): allow setting the property.
  944. 2002-05-10 Duncan Mak <[email protected]>
  945. * HtmlTableCellCollection.cs (this): Updated the indexer to return
  946. the right type, HtmlTableCell instead of HtmlTableRow.
  947. * HtmlInputImage.cs (OnServerClick): Commented out parts that
  948. won't compile.
  949. * HtmlForm.cs (RenderAttributes):
  950. (RenderChildren): Commented out code that doesn't compile.
  951. 2002-05-07 Duncan Mak <[email protected]>
  952. * HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
  953. clashing with the method defined in the parent class.
  954. (OnDataBinding): Added missing casts.
  955. * HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
  956. 'this' to IAttributeAccessor before calling interface method.
  957. Also renamed some calls to reflect changes in the API.
  958. * HtmlControl.cs (WriteOnClickAttribute): Made it not static and
  959. fixed a typo.
  960. 2001-09-03 Leen Toelen <[email protected]>
  961. * HtmlAnchor.cs: Initial implementation.
  962. * HtmlTextArea.cs: Initial implementation.
  963. 2001-08-22 Bob Smith <[email protected]>
  964. * HtmlContainerControl.cs: Initial implementation.
  965. * HtmlControl.cs: Initial implementation.
  966. * HtmlGenericControl.cs: Initial implementation.