Commit Graph
228 Commits
Author SHA1 Message Date
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 8be0f4eb7c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: fixed bug #48668. Thanks to Yaron Shkop.

svn path=/trunk/mcs/; revision=18245
2003-09-21 15:49:51 +00:00
Gonzalo Paniagua Javier e21820ea1c 2003-09-21 Gonzalo Paniagua Javier <[email protected]>
* ListBox.cs: patch by [email protected] (Yaron Shkop) that fixes
	bug #48671.

svn path=/trunk/mcs/; revision=18244
2003-09-21 15:39:01 +00:00
Gonzalo Paniagua Javier 61ed7d6f91 2003-09-19 Gonzalo Paniagua Javier <[email protected]>
* FontInfo.cs: fixed Name property as suggested by Rich Alimi
	<[email protected]>.

svn path=/trunk/mcs/; revision=18192
2003-09-19 18:27:54 +00:00
Gonzalo Paniagua Javier f51d161a24 2003-09-14 Gonzalo Paniagua Javier <[email protected]>
* RegularExpressionValidator.cs: fix for EvaluateIsValid by Juraj
	Skripsky <[email protected]>

svn path=/trunk/mcs/; revision=18077
2003-09-14 12:05:36 +00:00
Gonzalo Paniagua Javier 441b4e3e3e 2003-09-13 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: patch by Juraj Skripsky ([email protected]) that
	fixes rendering of the end tag.

svn path=/trunk/mcs/; revision=18059
2003-09-13 12:01:54 +00:00
Gonzalo Paniagua Javier 654ed1b737 2003-08-31 Gonzalo Paniagua Javier <[email protected]>
* Repeater.cs: fix for Items property provided by [email protected]
	(Yaron Shkop). Closes bug #48060.

svn path=/trunk/mcs/; revision=17765
2003-08-31 14:45:11 +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 8f40e6c6a5 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: Font.Strikeout renders as 'line-through'. Fixes bug #47871.

svn path=/trunk/mcs/; revision=17608
2003-08-26 02:37:08 +00:00
Gonzalo Paniagua Javier f67fde4ac6 2003-08-25 Gonzalo Paniagua Javier <[email protected]>
* WebControl.cs: removed dangling ^M and unneeded fields. Keep track
	of Enable in ViewState. Fixes bug #47865.

svn path=/trunk/mcs/; revision=17591
2003-08-25 16:42:15 +00:00
Gonzalo Paniagua Javier 223c5498fb 2003-08-20 Gonzalo Paniagua Javier <[email protected]>
* Style.cs: the MARKED bit is not send set in ViewState unless something
	is changed. Fixed TrackViewState condition.

	* WebControl.cs: save the base ViewState *after* ControlStyle is done,
	because it uses the same ViewState as the control. Fixes bug #47725.

svn path=/trunk/mcs/; revision=17421
2003-08-19 23:24:08 +00:00
Gonzalo Paniagua Javier d5ce33f2f8 2003-08-16 Gonzalo Paniagua Javier <[email protected]>
* HyperLinkColumn.cs: patch from David Pickens <[email protected]>
	that fixes databinding when only DataTextField or DataNavigateUrlField
	is set.

svn path=/trunk/mcs/; revision=17365
2003-08-16 11:10:38 +00:00
Gonzalo Paniagua Javier 2cde1939f8 fix credits
svn path=/trunk/mcs/; revision=17334
2003-08-14 16:52:56 +00:00
Gonzalo Paniagua Javier df56a2ae8a 2003-08-14 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: patch by Yaacov Akiba Slama <[email protected]> that
	fixes selection of values before assigning a data source and other
	issues.

svn path=/trunk/mcs/; revision=17333
2003-08-14 16:51:40 +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
Andreas N be498b8f43 2003-07-30 Andreas Nahr <[email protected]>
* RequiredFieldValidator.cs: Added all attributes
	* Style.cs: Added all attributes
	* Table.cs: Added all attributes
	* TableCell.cs: Added all attributes, added error checks, throws more exceptions
	* TableCellCollection.cs: Added attribute
	* TableRow.cs: Added all attributes
	* TableRowCollection: Added attribute
	* TableStyle.cs: Added all attributes, improved error messages
	* TemplateColumn.cs: Added all attributes
	* TextBox.cs: Added all attributes, added error checks, throws more exceptions
	* ValidationSummary.cs: Added all attributes
	* WebControl.cs: Added all attributes
	* Xml.cs: Added all attributes

svn path=/trunk/mcs/; revision=16907
2003-07-30 18:18:28 +00:00
Gonzalo Paniagua Javier 8411705b8b 2003-07-30 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed signature of ItemCreated and ItemDataBound.

svn path=/trunk/mcs/; revision=16888
2003-07-30 14:01:19 +00:00
Gonzalo Paniagua Javier fb032dfb2b 2003-07-30 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed signature of ItemCreated and PageIndexChanged.

svn path=/trunk/mcs/; revision=16885
2003-07-30 13:57:48 +00:00
Gonzalo Paniagua Javier 460a2df5cf 2003-07-21 Gonzalo Paniagua Javier <[email protected]>
* CheckBoxList.cs: fixes bug reported on the list about the state of
	the CheckButtons not being preserved across posts.

svn path=/trunk/mcs/; revision=16473
2003-07-21 08:48:40 +00:00
Gonzalo Paniagua Javier 76c9194a9e 2003-07-21 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: added SelectedValue property (1.1). Closes 46412.

svn path=/trunk/mcs/; revision=16472
2003-07-21 08:06:27 +00:00
Gonzalo Paniagua Javier c7d6a3b7c8 2003-06-30 Gonzalo Paniagua Javier <[email protected]>
* AdRotator.cs: fixed bug #44271 and a few others bugs. Mono-stylized.

svn path=/trunk/mcs/; revision=15756
2003-06-30 14:56:44 +00:00
Gonzalo Paniagua Javier 143f1512ad 2003-06-26 Gonzalo Paniagua Javier <[email protected]>
* ListControl.cs: save viewstate data when any of the 3 values is not
	null. Fixed condition to save selection indices. Closes bug #45493.

svn path=/trunk/mcs/; revision=15661
2003-06-26 17:53:47 +00:00
Gonzalo Paniagua Javier b6f95ecdae 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed bug #43823.

svn path=/trunk/mcs/; revision=15508
2003-06-20 13:59:51 +00:00
Gonzalo Paniagua Javier bb8ed7f2b7 2003-05-29 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: fixed delegate type for SortCommand.

svn path=/trunk/mcs/; revision=14984
2003-05-29 03:00:05 +00:00
Gonzalo Paniagua Javier 837fb01764 2003-05-09 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumnCollection.cs: added missing return in RemoveAt.

svn path=/trunk/mcs/; revision=14422
2003-05-09 15:47:30 +00:00
Gonzalo Paniagua Javier cc4bff9ea0 2003-05-09 Gonzalo Paniagua Javier <[email protected]>
* DataGridColumnCollection.cs: fixed LoadViewState for the columns.
	Don't save ViewState is the number of columns is 0.

svn path=/trunk/mcs/; revision=14421
2003-05-09 15:33:44 +00:00
Gonzalo Paniagua Javier 340a21e940 2003-05-02 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: get the right item Type for the property we're reading
	fromt the data source.

svn path=/trunk/mcs/; revision=14205
2003-05-02 09:57:31 +00:00
Gonzalo Paniagua Javier dd1121ef7d 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* Label.cs:
	* TextBox.cs: added control builder attribute.

svn path=/trunk/mcs/; revision=14144
2003-04-30 05:04:37 +00:00
Gonzalo Paniagua Javier 0b8f88a2af 2003-03-29 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: Fixed SaveViewState and type of ItemDataBound.

svn path=/trunk/mcs/; revision=12900
2003-03-29 12:47:24 +00:00
Miguel de Icaza dc645afbd7 The table encodes 5 bits
svn path=/trunk/mcs/; revision=12775
2003-03-24 04:38:22 +00:00
Gonzalo Paniagua Javier a657f38d93 Fixes by George Kodinov <[email protected]>
svn path=/trunk/mcs/; revision=12629
2003-03-17 18:05:20 +00:00
Gonzalo Paniagua Javier 4bf7143482 2003-02-15 Gonzalo Paniagua Javier <[email protected]>
* list: forgot to add this one.

	* System.Web.Compilation/AspGenerator.cs: corrected typo and wrong fix.

	* System.Web.UI/Control.cs: have i definitely fixed naming container
	stuff this time?

	* System.Web.UI/LosFormatter.cs: activated binary serialization code.

	* System.Web.UI.WebControls/ButtonColumn.cs: fixed a couple of infinite
	loop problems and render correctly the header of the column.

	* System.Web.UI.WebControls/DataGridTableInternal.cs: don't assign a
	default ID to this control.

	* System.Web.UI.WebControls/LinkButton.cs: raise bubble event in
	OnCommand.

	* System.Web.UI.WebControls/TableCellCollection.cs: fixed the index
	returned by Add.

	* System.Web.UI.WebControls/TableRowCollection.cs: ditto.

svn path=/trunk/mcs/; revision=11601
2003-02-15 04:08:30 +00:00
Gonzalo Paniagua Javier 1fd1729bbd 2003-02-06 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: don't call MapPathSecure when setting DocumentSource.

svn path=/trunk/mcs/; revision=11282
2003-02-06 18:50:13 +00:00
Gonzalo Paniagua Javier b7312b9149 2003-02-05 Gonzalo Paniagua Javier <[email protected]>
* RangeValidator.cs: fixed bug #37577. Thanks to Stephane Tombeur
	for reporting the bug and providing the fix.

svn path=/trunk/mcs/; revision=11217
2003-02-05 00:02:45 +00:00
Gonzalo Paniagua Javier 339e5c416c 2003-01-26 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: AutoGenerateColumns defaults to true. Fixed
	CreateColumnSet. Set the owner of the column when auto generated.
	In PrepareControlHierarchyForItem, fixed for loop bound.

	* LinkButtonInternal.cs: fixed infinite recursion bug.

	Fixes bug #37124.

svn path=/trunk/mcs/; revision=10910
2003-01-26 07:43:03 +00:00
Gonzalo Paniagua Javier 38910ee49d 2003-01-22 Zdravko Tashev <[email protected]>
* Xml.cs: a few fixes.

svn path=/trunk/mcs/; revision=10798
2003-01-22 11:14:12 +00:00
Gonzalo Paniagua Javier 26bab89059 2003-01-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.Compilation/AspGenerator.cs: removed unused variable. Added
	support for properties/fields of type string [].

	* System.Web.UI.WebControls/DataList.cs: handle the exception when
	adding new keys to DataKeysArray.

svn path=/trunk/mcs/; revision=10734
2003-01-20 15:03:32 +00:00
Gonzalo Paniagua Javier 6c35614385 2003-01-17 Gonzalo Paniagua Javier <[email protected]>
* System.Web/HttpRequest.cs: implemented CurrentExecutionFilePath.

	* System.Web.UI/Control.cs: some more tweaks to naming containers stuff.
	* System.Web.UI/DataBinder.cs: don't throw exception if the container
	is null.

	* System.Web.UI/Page.cs: now we can render client scripts, startup
	scripts and hidden fields. Only render __VIEWSTATE if there is someone
	that will take care of it.
	(RaisePostBackEvents): first try the last one that required raise event,
	then try __EVENTTARGET.

	* System.Web.UI.HtmlControls/HtmlForm.cs: render 'action' attribute.

	* System.Web.UI.WebControls/BaseDataList.cs: what can I say for this
	one? I spent so many time until I finally found this that I'm gonna
	miss this f....g bug... ;-). Farewell. Now we can get events from
	image buttons inside Data*.

	* System.Web.UI.WebControls/DataList.cs: now the value stored in
	ViewState for item count is correct.

svn path=/trunk/mcs/; revision=10627
2003-01-17 17:17:41 +00:00
Gonzalo Paniagua Javier f72695f958 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* DataGrid.cs: default value for ShowHeaders is true. Fixed style for
	Header and Footer.
	* DataGridColumn.cs: added SetOwner method.
	* DataGridColumnCollection.cs: set the owner of the column when added.

svn path=/trunk/mcs/; revision=10272
2003-01-08 05:57:24 +00:00
Gonzalo Paniagua Javier f71e7daac7 2003-01-08 Gonzalo Paniagua Javier <[email protected]>
* BoundColumn.cs: typo.
	* DataGrid.cs: use 'as' instead of casting. Typo.
	* HyperLinkColumn.cs: call OnColumnChanged when any property change.
	Mono-stylized.

svn path=/trunk/mcs/; revision=10264
2003-01-07 23:21:44 +00:00
Gonzalo Paniagua Javier dcbbeb8b65 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* HyperLink.cs: fixes bug #36336.

svn path=/trunk/mcs/; revision=10232
2003-01-07 04:44:22 +00:00
Gonzalo Paniagua Javier 3514aead26 2003-01-07 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed IRepeatInfoUser.GetItemStyle.

svn path=/trunk/mcs/; revision=10230
2003-01-07 03:44:47 +00:00
Gonzalo Paniagua Javier 9096fdf8c0 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* BaseValidator.cs: return an empty string in GetControlValidationValue
	when GetValue returned null.

	* CompareValidator.cs: fixed EvaluateIsValid.

	* RegularExpressionValidator.cs: fixed EvaluateIsValid.

svn path=/trunk/mcs/; revision=9725
2002-12-17 07:31:20 +00:00
Gonzalo Paniagua Javier 1cffa9bea3 2002-12-17 Gonzalo Paniagua Javier <[email protected]>
* Xml.cs: use MapPathSecure to get the path of the document.

svn path=/trunk/mcs/; revision=9724
2002-12-17 04:50:26 +00:00
Gonzalo Paniagua Javier 72df0c550b 2002-12-13 Gonzalo Paniagua Javier <[email protected]>
* DataList.cs: fixed header & footer.

svn path=/trunk/mcs/; revision=9617
2002-12-13 09:28:55 +00:00
Gonzalo Paniagua Javier 1fd7a5bbd1 2002-12-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: new method to set bindingContainer value.
	* System.Web.UI/TemplateControl.cs: added controls are not binding
	containers.
	* System.Web.UI.WebControls/DataList.cs: for header and footer don't
	use data source. Instantiate in the DataListItem, not in the DataList.
	databind-template.aspx works now.

svn path=/trunk/mcs/; revision=9594
2002-12-12 20:45:43 +00:00
Gonzalo Paniagua Javier 437bb81e83 2002-11-21 Gonzalo Paniagua Javier <[email protected]>
* BaseDataList.cs:
	(Render): call RenderContents (), not base.RenderContents ().

	* DataList.cs: style.

	But I still haven't found what i'm looking for....

svn path=/trunk/mcs/; revision=9127
2002-11-21 04:02:37 +00:00
Gonzalo Paniagua Javier e2dc2f131b 2002-11-20 Gonzalo Paniagua Javier <[email protected]>
* makefile.gnu: s/MONO_PATH_PREFIX/MONO_PATH/

	* System.Web.UI/LosFormatter.cs: added DateTime to special types.
	* System.Web.UI.WebControls/Calendar.cs: fixed loading/saving selected
	dates.
	* System.Web.UI.WebControls/SelectedDatesCollection.cs: added internal
	function to get the underlying ArrayList.

	Calendar navigation works again. Selecting dates too.

svn path=/trunk/mcs/; revision=9115
2002-11-20 16:45:13 +00:00