Commit Graph
26 Commits
Author SHA1 Message Date
Gonzalo Paniagua Javier 2da43bb63d 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: when rendering the input tag inside a span tag, keep the
	attributes that are meant to be in the input tag in their place.


svn path=/trunk/mcs/; revision=39271
2005-01-20 20:24:25 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Alon Gazit 152039aa97 change the implementation of LoadPostData.
Currently, while the AutoPostBack property equals true ,
it isn't possible to perform uncheck.

svn path=/trunk/mcs/; revision=21535
2003-12-29 09:03:41 +00:00
Alon Gazit f31e57c21c Disabled CheckBox does not produce same HTML as .NET.
In .NET if the checkbox is disabled ,its text appears disabled too.
In Mono the text appears enabled. the fix is in Render().

svn path=/trunk/mcs/; revision=21167
2003-12-15 13:19:33 +00:00
Jackson Harper fd8e225066 * CheckBox.cs: Do not change the status of a checkbox when there
is no postback data. This fixes bug #49091.

svn path=/trunk/mcs/; revision=19464
2003-10-29 20:43:16 +00:00
Gonzalo Paniagua Javier 1351d60778 2003-10-11 Gonzalo Paniagua Javier <[email protected]>
* Calendar.cs: apply the calendar style to the new Table, not to itself.
	Fixes #49406.

	* CheckBox.cs: render the hidden fields if AutoPostBack.

	* Style.cs: don't render empty width/height. Small improvement in
	CopyFrom.

	* Table.cs: fixed condition for border width.

	* TableStyle.cs:
	(CopyFrom): always call the base class to copy other attributes. Fixes
	bug #49408. Don't render empty 'rules' attribute.

	* WebControl.cs: track viewstate when enabled. Don't overwrite source
	control attributes in CopyBaseAttributes.

	* ChangeLog: fixed dates.

svn path=/trunk/mcs/; revision=18878
2003-10-11 09:08:19 +00:00
Gonzalo Paniagua Javier 7f3cbdbc8d 2003-09-27 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: render the 'disabled' attribute in the correct tag.
	* WebControl.cs: fixed Enabled property and save it in ViewState.

	Fixes bug #48802.

svn path=/trunk/mcs/; revision=18323
2003-09-27 01:21:15 +00:00
Gonzalo Paniagua Javier 95aeaaf22d 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI.WebControls/CheckBox.cs: in LoadPostData, only return
	true when the new data is different from the one we had. Fixed
	conditions to save Checked state. Thanks to [email protected]
	(Yaron Shkop).

	* System.Web.UI/Page.cs: check if controls that require postback have
	been changed by an event and register them to be notified of data
	changed event.

	Fixes bug #47869.

svn path=/trunk/mcs/; revision=17621
2003-08-26 12:25:22 +00:00
Gonzalo Paniagua Javier 14c2be498e 2003-08-11 Gonzalo Paniagua Javier <[email protected]>
* CheckBox.cs: save viewstate when needed and correctly handle post
	data. Fixes bug #47462.

svn path=/trunk/mcs/; revision=17252
2003-08-11 13:25:21 +00:00
Andreas N fefea1f82a 2003-08-01 Andreas Nahr <[email protected]>
* ButtonColumn.cs: Removed additional attributes
	* CheckBox.cs: Added attribute
	* DataGrid.cs: Added attributes
	* HyperLinkColumn.cs: Changed attributes, added lamespec
	* Style.cs: Removed attributes
	* TextBox.cs: Added/ removed attributes

svn path=/trunk/mcs/; revision=16990
2003-08-01 11:54:11 +00:00
Andreas N 0fc9b50a1a 2003-08-01 Andreas Nahr <[email protected]>
* AdRotator.cs: Added all attributes
	* BaseDataList.cs: Added all attributes, added lamespec, removed additional attributes
	* BaseValidator.cs: Added all attributes
	* BoundColumn.cs: Added all attributes
	* Button.cs: Added all attributes
	* ButtonColumn.cs: Added all attributes, added lamespec
	* Calendar.cs: Added all attributes, added error checks, throws more exceptions
	* CheckBox.cs: Added all attributes
	* CheckBoxList.cs: Added all attributes
	* CompareValidator.cs: Added all attributes
	* CustomValidator.cs: Added all attributes
	* DataGrid.cs: Added all attributes, more verbose exceptions, fixed signature, removed additional attributes
	* DataGridColumn.cs: Added all attributes
	* DataGridColumnCollection.cs: Added all attributes
	* DataGridPagerStyle.cs: Added all attributes
	* DataGridTableInternal.cs: Made DataGridTableInternal internal
	* DataList.cs: Added all attributes, more verbose exceptions, removed non-existing member
	* DropDownList.cs: Added all attributes
	* FontInfo.cs: Added all attributes
	* HyperLink.cs: Added all attributes
	* HyperLinkColumn.cs: Added all attributes
	* Image.cs: Added all attributes
	* ImageButton.cs: Added all attributes
	* Label.cs: Added all attributes
	* LinkButton.cs: Added all attributes
	* ListBox.cs: Added all attributes, added error checks, throws more exceptions
	* ListControl.cs: Added all attributes
	* ListItem.cs: Added all attributes
	* ListItemCollection.cs: Added attribute
	* Literal.cs: Added all attributes
	* Panel.cs: Added all attributes
	* RadioButton.cs: Added all attributes
	* RadioButtonList.cs: Added all attributes, added error checks, throws more exceptions
	* RangeValidator.cs: Added all attributes
	* RegularExpressionValidator.cs: Added all attributes
	* Repeater.cs: Added all attributes

svn path=/trunk/mcs/; revision=16985
2003-08-01 08:04:00 +00:00
Gonzalo Paniagua Javier 91930711e8 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* list: added some more files from System.Web.Hosting.

	* System.Web.UI/ConstructorNeedsTagAttribute.cs: the default
	constructor sets the property to false.

	* System.Web.UI.HtmlControls/HtmlGenericControl.cs: fixed TagName
	signature and get/set.

	* System.Web.UI.HtmlControls/HtmlInputImage.cs: added attribute and
	fixed signature of ServerClick.

	* System.Web.UI.HtmlControls/HtmlInputText.cs: added attribute.

	* System.Web.UI.WebControls/AdRotator.cs:
	* System.Web.UI.WebControls/Button.cs:
	* System.Web.UI.WebControls/Calendar.cs:
	* System.Web.UI.WebControls/CheckBox.cs:
	* System.Web.UI.WebControls/CheckBoxList.cs:
	* System.Web.UI.WebControls/DataList.cs:
	* System.Web.UI.WebControls/DropDownList.cs:
	* System.Web.UI.WebControls/HyperLink.cs:
	* System.Web.UI.WebControls/HyperLinkColumn.cs:
	* System.Web.UI.WebControls/Image.cs:
	* System.Web.UI.WebControls/ImageButton.cs:
	* System.Web.UI.WebControls/Label.cs:
	* System.Web.UI.WebControls/LinkButton.cs:
	* System.Web.UI.WebControls/ListBox.cs:
	* System.Web.UI.WebControls/Panel.cs:
	* System.Web.UI.WebControls/PlaceHolder.cs:
	* System.Web.UI.WebControls/RadioButton.cs:
	* System.Web.UI.WebControls/RadioButtonList.cs:
	* System.Web.UI.WebControls/Table.cs:
	* System.Web.UI.WebControls/TableRow.cs:
	* System.Web.UI.WebControls/TextBox.cs:
	* System.Web.UI.WebControls/WebControl.cs: removed attributes
	added by mistake (i used GetCustomAttributes (true), d'oh!).

	* System.Web.UI.WebControls/DataListItem.cs: implemented RenderItem.

	* System.Web.UI.WebControls/Repeater.cs: implemented CreateItem and
	InitializeItem.

svn path=/trunk/mcs/; revision=5749
2002-07-13 02:07:57 +00:00
Gonzalo Paniagua Javier 69860427af 2002-07-07 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs:
	* BaseValidator.cs:
	* Button.cs:
	* Calendar.cs:
	* CheckBox.cs:
	* CheckBoxList.cs:
	* DataGrid.cs:
	* DataList.cs:
	* DropDownList.cs:
	* HyperLink.cs:
	* Image.cs:
	* ImageButton.cs:
	* Label.cs:
	* LinkButton.cs:
	* ListBox.cs:
	* Panel.cs:
	* PlaceHolder.cs:
	* RadioButton.cs:
	* RadioButtonList.cs:
	* Table.cs:
	* TableRow.cs:
	* TextBox.cs:
	* WebControl.cs:
	* Xml.cs: added/fixed all attributes used by xsp.

svn path=/trunk/mcs/; revision=5640
2002-07-07 23:46:38 +00:00
Gonzalo Paniagua Javier 1c82e6f86f 2002-06-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Page.cs:
	(GetPostBackClient):
	(RegisterRequiresPostBack): don't throw NotImplementedException to
	keep going.
	(ProcessRequest): set the current page as the Page property for *all*
	the controls, not just the direct children of the page.

	* System.Web.UI.WebControls/Button.cs:
	(AddAttributesToRender): fixed (classic) stack overflow.

	* System.Web.UI.WebControls/CheckBox.cs: mono-stylized.
	(AutoPostBack): fixed stack overflow.
	(Render): fixed alignment issues. Also set the For attribute always
	for the label.

svn path=/trunk/mcs/; revision=5239
2002-06-12 00:17:16 +00:00
Gaurav Vaish 01a228a8e9 2002-03-26 Gaurav Vaish <[email protected]>
* UI/*.cs  -- Added a few attributes.
* WebControls/*.cs  -- Applied the attributes

* ChangeLog -- Notification

svn path=/trunk/mcs/; revision=3353
2002-03-26 12:48:02 +00:00
Gaurav Vaish d88fdc72e5 2002-01-07 Gaurav Vaish <[email protected]>
* <All>.cs  -- A lot of decoration. Gosh! saved, not too many..

svn path=/trunk/mcs/; revision=1887
2002-01-07 02:37:35 +00:00
Gaurav Vaish 01172da4be 2001-12-21 Gaurav Vaish <[email protected]>
* System.Web/*.cs
* System.Web.Caching/*.cs
* System.Web.UI/*.cs
* System.Web.Utils/*.cs
* System.Web.UI.WebControls/*.cs

  -- The ISP was down yesterday and today morning. So many files. See changelog for more details.

svn path=/trunk/mcs/; revision=1666
2001-12-21 08:42:28 +00:00
Gaurav Vaish d6cce0b82a 200-112-18 Gaurav Vaish <[email protected]>
* BaseDataList    --- Another class completed

svn path=/trunk/mcs/; revision=1612
2001-12-17 18:34:15 +00:00
Gaurav Vaish e4baacc8ba 2001-12-02 Gaurav Vaish <[email protected]>
* Minor changes in comments

svn path=/trunk/mcs/; revision=1507
2001-12-02 17:14:11 +00:00
Gaurav Vaish c11b52a917 2001-11-30 Gaurav Vaish <[email protected]>
Important changes:

 * System.Web.WebUtils removed... renamed to System.Web.Utils based on some hacking done.

 * AdRotator.cs      --- Updated to use Utils
 * BaseDataList.cs   --- Removing rubbishness
 * CheckBox.cs       --- Working
 * CheckBoxList.cs   --- Finalized?
 * ListControl.cs    --- Initital Implementation

svn path=/trunk/mcs/; revision=1486
2001-11-30 03:43:45 +00:00
Gaurav Vaish 64b22c6476 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs         --- Initial Implementation

* ChangeLog           --- Updated with latest information. I think so, at least.

svn path=/trunk/mcs/; revision=1474
2001-11-29 18:09:44 +00:00
Gaurav Vaish c0a6c6e3e3 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs      --- Oops! I forgot OnPreRender. The last method left, well, still supposedly. Looks pretty fine now.

svn path=/trunk/mcs/; revision=1473
2001-11-29 15:48:48 +00:00
Gaurav Vaish d8bd6b652d 2001-11-30 Gaurav Vaish <[email protected]>
* CheckBox.cs   -- Huh! Completed another class. Looks to be at least. :))

* ChangeLog     -- Notified others

svn path=/trunk/mcs/; revision=1471
2001-11-29 14:38:12 +00:00
Gaurav Vaish 01f2946ddf 2001-11-29 Gaurav Vaish <[email protected]>
* CheckBox.cs     -- Can now do Render-ing and LoadPostData-ing.

* ChangeLog       -- Made proper updates

svn path=/trunk/mcs/; revision=1470
2001-11-29 14:32:17 +00:00
Gaurav Vaish 535eaddea7 2001:11:12 Gaurav Vaish <[email protected]>
svn path=/trunk/mcs/; revision=1327
2001-11-11 16:21:45 +00:00
Gaurav Vaish d55f22bcd9 Added files:
CalendarDay.cs
	CheckBox.cs
	DayRenderEventHandler.cs

Changing:
	WebControl.cs

svn path=/trunk/mcs/; revision=1276
2001-11-06 17:43:44 +00:00