ChangeLog 46 KB

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