Marek Habersack
91eeb59971
2010-06-21 Marek Habersack <[email protected] >
...
* HtmlControl.cs: PreProcessRelativeReference deos not
atribute-encode the attribute value. Fixes bug #596430
2010-06-21 Marek Habersack <[email protected] >
* HtmlImageTest.cs: fixed an invalid test.
svn path=/trunk/mcs/; revision=159250
2010-06-21 12:31:12 +00:00
Marek Habersack
dd0fe78418
Removed another batch of pre 2.0 code + some cosmetics
...
svn path=/trunk/mcs/; revision=154746
2010-04-03 00:25:13 +00:00
Marek Habersack
ef9c9e51ce
Do not abuse the 'private' keyword
...
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Dean Brettle
382be2e62f
++ System.Web.UI.HtmlControls/ChangeLog (working copy)
...
* HtmlControl.cs (PreProcessRelativeReference),
HtmlForm.cs (RenderAttributes), HtmlInputButton (RenderAttributes),
HtmlInputRadioButton (RenderAttributes), HtmlSelect (RenderChildren):
Encode attributes that could contain HTML special chars.
* HtmlSelect (RenderChildren): HTML-encode option text.
++ Test/System.Web.UI.HtmlControls/ChangeLog (working copy)
* HtmlInputButtonTest.cs, HtmlImageTest.cs, HtmlFormTest.cs,
HtmlInputRadioButtonTest.cs, HtmlSelectTest.cs: Added tests
for HTML-encoded of attributes.
svn path=/trunk/mcs/; revision=109349
2008-07-31 14:34:51 +00:00
Vladimir Krasnov
9d3ef51320
* HtmlControl.cs: fixed PreProcessRelativeReference, should be used ResolveClientUrl
...
svn path=/trunk/mcs/; revision=83081
2007-07-31 14:13:17 +00:00
Chris Toshok
8002a9c8b7
2005-09-07 Chris Toshok <[email protected] >
...
* HtmlInputCheckBox.cs (Checked): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlControl.cs (Disabled): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlForm.cs (SubmitDisabledControls): remove the MonoTODO.
* HtmlTableCell.cs (NoWrap): uncomment the
MinimizableAttributeTypeConverter attribute.
* HtmlLink.cs (Href): remove the MonoTODO.
* HtmlMeta.cs (Name): remove the MonoTODO.
(Scheme): same.
(Render): add (pretty bogus, really..) implementation. not sure
why we need this one.
svn path=/trunk/mcs/; revision=49616
2005-09-07 06:03:18 +00:00
Sebastien Pouliot
32d253709e
2005-09-01 Sebastien Pouliot <[email protected] >
...
* HtmlTableCell.cs, HtmlTableRowCollection.cs, HtmlInputFile.cs,
HtmlHead.cs, HtmlInputReset.cs, HtmlForm.cs, HtmlInputText.cs,
HtmlHeadBuilder.cs, HtmlInputRadioButton.cs, HtmlAnchor.cs,
HtmlButton.cs, HtmlTextArea.cs, HtmlGenericControl.cs,
HtmlTableRow.cs, HtmlSelect.cs, HtmlControl.cs, HtmlImage.cs,
HtmlSelectBuilder.cs, HtmlTable.cs, HtmlInputButton.cs,
HtmlInputImage.cs, HtmlTableCellCollection.cs, HtmlInputCheckBox.cs,
HtmlInputHidden.cs, HtmlTitle.cs, HtmlInputPassword.cs,
HtmlContainerControl.cs, HtmlInputSubmit.cs: Add missing security
attributes AspNetHostingPermission for Minimal level on all classes
(LinkDemand) and for non-sealed classes (InheritanceDemand).
svn path=/trunk/mcs/; revision=49299
2005-09-01 21:24:35 +00:00
Chris Toshok
2954c2326a
2005-08-29 Chris Toshok <[email protected] >
...
* System.Web.UI.HtmlControls/HtmlTableCell.cs,
System.Web.UI.HtmlControls/HtmlInputFile.cs,
System.Web.UI.HtmlControls/HtmlForm.cs,
System.Web.UI.HtmlControls/HtmlInputText.cs,
System.Web.UI.HtmlControls/HtmlInputRadioButton.cs,
System.Web.UI.HtmlControls/HtmlAnchor.cs,
System.Web.UI.HtmlControls/HtmlButton.cs,
System.Web.UI.HtmlControls/HtmlTextArea.cs,
System.Web.UI.HtmlControls/HtmlGenericControl.cs,
System.Web.UI.HtmlControls/HtmlSelect.cs,
System.Web.UI.HtmlControls/HtmlTableRow.cs,
System.Web.UI.HtmlControls/HtmlControl.cs,
System.Web.UI.HtmlControls/HtmlImage.cs,
System.Web.UI.HtmlControls/HtmlTable.cs,
System.Web.UI.HtmlControls/HtmlInputButton.cs,
System.Web.UI.HtmlControls/HtmlInputControl.cs,
System.Web.UI.HtmlControls/HtmlInputImage.cs,
System.Web.UI.HtmlControls/HtmlInputCheckBox.cs,
System.Web.UI.HtmlControls/HtmlInputHidden.cs,
System.Web.UI/Control.cs: Add WebSysDescription/WebCategory
attributes.
svn path=/trunk/mcs/; revision=49288
2005-09-01 19:12:47 +00:00
Ben Maurer
2db31ba22c
round one
...
svn path=/trunk/mcs/; revision=48990
2005-08-27 21:03:38 +00:00
Chris Toshok
881b6585d7
2005-08-27 Chris Toshok <[email protected] >
...
* HtmlControl.cs (GetAttribute, SetAttribute): implement.
svn path=/trunk/mcs/; revision=48986
2005-08-27 20:00:16 +00:00
Miguel de Icaza
54079f764a
Commit of changes to core files, on behalf of the team
...
svn path=/trunk/mcs/; revision=48944
2005-08-26 22:58:48 +00:00
Gonzalo Paniagua Javier
c43284e202
2005-06-08 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlTableCell.cs:
* HtmlControl.cs: updates for 1.1 SP1.
svn path=/trunk/mcs/; revision=45622
2005-06-08 08:27:30 +00:00
Gonzalo Paniagua Javier
9d76a57969
Warnings
...
svn path=/trunk/mcs/; revision=25814
2004-04-22 03:07:54 +00:00
Jackson Harper
ee6bbb7e18
* HtmlControl.cs: Fix disabled property. Patch by Alon Gazit
...
<[email protected] >.
svn path=/trunk/mcs/; revision=20669
2003-12-01 18:07:06 +00:00
Jackson Harper
7df1cd966c
* HtmlControl.cs: Make disabled an attribute of the control so it
...
is rendered. This is a slightly modifed version of a patch
by Yaron Shkop. Fixes bug #50160 .
svn path=/trunk/mcs/; revision=19469
2003-10-29 22:14:46 +00:00
Andreas N
e3a6958672
2003-07-17 Andreas Nahr <[email protected] >
...
* HtmlContainerControl.cs: Added attributes
* HtmlControl.cs: Added attributes
* HtmlInputControl.cs: Fixed public signature
* HtmlInputRadioButton.cs: Fixed public signature
* HtmlSelect.cs: Added missing attribute
* HtmlTable.cs: Added missing attribute
svn path=/trunk/mcs/; revision=16359
2003-07-17 21:57:46 +00:00
Gonzalo Paniagua Javier
50b945fca5
2003-01-29 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web/HttpRequest.cs: added BaseVirtualDir property and use it
in MapPath.
* System.Web.UI.HtmlControls/HtmlControl.cs: _tagName is now internal.
* System.Web.UI.HtmlControls/HtmlGenericControl.cs: use the field in
HtmlControl to keep the tag name.
* System.Web.Util/UrlUtils.cs: fixed Combine ().
svn path=/trunk/mcs/; revision=11027
2003-01-29 19:16:39 +00:00
Gonzalo Paniagua Javier
26c28da391
2002-09-23 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlAnchor.cs:
* HtmlButton.cs:
* HtmlContainerControl.cs:
* HtmlControl.cs:
* HtmlForm.cs:
* HtmlGenericControl.cs:
* HtmlImage.cs:
* HtmlInputButton.cs:
* HtmlInputCheckBox.cs:
* HtmlInputControl.cs:
* HtmlInputFile.cs:
* HtmlInputHidden.cs:
* HtmlInputImage.cs:
* HtmlInputRadioButton.cs:
* HtmlInputText.cs:
* HtmlSelect.cs:
* HtmlTable.cs:
* HtmlTableCell.cs:
* HtmlTableRow.cs:
* HtmlTextArea.cs: added almost all missing attributes.
svn path=/trunk/mcs/; revision=7740
2002-09-23 17:59:02 +00:00
Gonzalo Paniagua Javier
55c864a5a4
Use Attributes in Style
...
svn path=/trunk/mcs/; revision=5956
2002-07-20 07:13:03 +00:00
Gonzalo Paniagua Javier
9ee5e0198a
2002-07-20 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web.UI/AttributeCollection.cs:
(Add): handle 'style' through styleCollection.
* System.Web.UI/CssStyleCollection.cs:
(fillStyle): renamed to FillStyle and made it internal.
* System.Web.UI/Page.cs:
(GetViewStateString): fixed, broken after other recent changes.
(ProcessPostData): allow a second try for postback data after OnLoad.
(ProcessRequest): clear controls collection, removed call to
UnloadRecursive.
* System.Web.UI.HtmlControls/HtmlControl.cs: the attributes must use
ViewState as its StateBag, if not style values are lost between
postbacks.
* System.Web.UI.WebControls/TextBox.cs: default for Wrap is true.
(OnPreRender): don't save Text if there are no listeners on TextChanged.
svn path=/trunk/mcs/; revision=5954
2002-07-20 07:07:39 +00:00
Gonzalo Paniagua Javier
2a93e6a46e
2002-07-17 Gonzalo Paniagua Javier <[email protected] >
...
* HtmlAnchor.cs:
* HtmlButton.cs:
* HtmlInputButton.cs:
* HtmlInputCheckBox.cs:
* HtmlInputHidden.cs:
* HtmlInputImage.cs:
* HtmlInputText.cs:
* HtmlTextArea.cs: Initialize EventHandlerList indexer.
* HtmlContainerControl.cs: almost rewritten to use a LiteralControl
instead of maintaining some flags and strings. Implemented
LoadViewState.
* HtmlControl.cs: fixed constructor and added ViewStateIgnoreCase.
* HtmlSelect.cs: fixed TrackViewState, SaveViewState, SelectedIndices
and Value.
svn path=/trunk/mcs/; revision=5864
2002-07-17 16:08:01 +00:00
Gonzalo Paniagua Javier
129ad6efaa
2002-06-30 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web/HttpResponse.cs:
* System.Web.SessionState/HttpSessionState.cs:
* System.Web.UI/LiteralControl.cs:
* System.Web.UI.HtmlControls/HtmlAnchor.cs:
* System.Web.UI.HtmlControls/HtmlButton.cs:
* System.Web.UI.HtmlControls/HtmlControl.cs:
* System.Web.UI.HtmlControls/HtmlForm.cs:
* System.Web.UI.HtmlControls/HtmlGenericControl.cs:
* System.Web.UI.HtmlControls/HtmlInputButton.cs:
* System.Web.UI.HtmlControls/HtmlInputCheckBox.cs:
* System.Web.UI.HtmlControls/HtmlInputControl.cs:
* System.Web.UI.HtmlControls/HtmlInputFile.cs:
* System.Web.UI.HtmlControls/HtmlInputHidden.cs:
* System.Web.UI.HtmlControls/HtmlInputImage.cs:
* System.Web.UI.HtmlControls/HtmlInputRadioButton.cs:
* System.Web.UI.HtmlControls/HtmlInputText.cs:
* System.Web.UI.HtmlControls/HtmlSelect.cs:
* System.Web.UI.HtmlControls/HtmlTable.cs:
* System.Web.UI.HtmlControls/HtmlTableCell.cs:
* System.Web.UI.HtmlControls/HtmlTableRow.cs:
* System.Web.UI.HtmlControls/HtmlTextArea.cs:
Fixes based on class status page:
- Add attributes (DefaultEvent, ParseChildren).
- Fix declarations.
- Explicitly implement some interfaces (IPostBackDataHandler
and IPostBackEventHandler).
- Implemented some missing methods.
svn path=/trunk/mcs/; revision=5506
2002-06-30 20:44:49 +00:00
Gonzalo Paniagua Javier
99f37626e5
2002-06-06 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web.UI/Page.cs: for each child control to render, assign
Control.Page. Probably also needed in HtmlContainerControl derived
classes.
* System.Web.UI.HtmlControls/HtmlControl.cs: Render contents moved to
new RenderBeginTag method, defined in MS docs.
* System.Web.UI.HtmlControls/HtmlForm.cs: Render output when no IE
browser.
* System.Web.UI.HtmlControls/HtmlInputButton.cs: added constructor
without arguments. Xsp used it, though now it always use the other
.ctor.
* System.Web.UI.HtmlControls/HtmlInputControl.cs: cosmetic changes and
implemented set_Name.
svn path=/trunk/mcs/; revision=5135
2002-06-06 11:38:30 +00:00
Gonzalo Paniagua Javier
62aeab6dc1
2002-06-05 Gonzalo Paniagua Javier <[email protected] >
...
* System.Web.UI/AttributeCollection.cs: don't need a Hastable. StateBag
now works fine and takes care of the details.
* System.Web.UI/Control.cs: added HasChildren property.
* System.Web.UI/StateBag.cs: fixed a couple of nasty bugs.
* System.Web.UI.HtmlControls/HtmlButton.cs: RenderAttributes is an
override, not new.
* System.Web.UI.HtmlControls/HtmlContainerControl.cs: use the new
Render method in HtmlControl.
* System.Web.UI.HtmlControls/HtmlControl.cs: added Render method to
render the tag and its attributes. Works for container and
non-containers.
* System.Web.UI.HtmlControls/HtmlImage.cs: RenderAttributes don't need
to be new. Implemented Height property.
svn path=/trunk/mcs/; revision=5130
2002-06-05 15:58:32 +00:00
Duncan Mak
9c19cc267c
2002-05-07 Duncan Mak <[email protected] >
...
* HtmlSelect.cs (TrackViewState): Added 'new' keyword to avoid
clashing with the method defined in the parent class.
(OnDataBinding): Added missing casts.
* HtmlForm.cs (Render): Fixed call too SetAttribute, need to cast
'this' to IAttributeAccessor before calling interface method.
Also renamed some calls to reflect changes in the API.
* HtmlControl.cs (WriteOnClickAttribute): Made it not static and
fixed a typo.
svn path=/trunk/mcs/; revision=4485
2002-05-10 14:11:22 +00:00
Gaurav Vaish
b259284dc2
2002-24-02 Gaurav Vaish <[email protected] >
...
* *.cs -- Updates from Leen Toelen ([email protected] )
svn path=/trunk/mcs/; revision=2142
2002-01-24 04:14:05 +00:00
Miguel de Icaza
7c9ee1a3ee
Flush pending changes I got from a contributor that did not put his name in
...
svn path=/trunk/mcs/; revision=1263
2001-11-05 07:10:08 +00:00
Bob Smith
f417e9e65d
More implementations.
...
svn path=/trunk/mcs/; revision=565
2001-08-22 16:07:36 +00:00