ChangeLog 46 KB

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