Commit Graph
176 Commits
Author SHA1 Message Date
Chris Toshok 99a97f3f74 2005-08-29 Chris Toshok <[email protected]>
* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.

	* HtmlForm.cs: same.


svn path=/trunk/mcs/; revision=49073
2005-08-29 17:51:21 +00:00
Chris Toshok e5076b3137 2005-08-29 Chris Toshok <[email protected]>
* HtmlButton.cs: Fix some 2.0 Page/ClientScript obsolete warnings.


svn path=/trunk/mcs/; revision=49072
2005-08-29 17:50:35 +00:00
Gonzalo Paniagua Javier 707131f0e9 2005-08-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlAnchor.cs: no need for the resolvedHRef field, as it might be set
	but not used.  Call ResolveUrl when rendering the attributes instead.


svn path=/trunk/mcs/; revision=49045
2005-08-28 23:43:48 +00:00
Chris Toshok 31ef6766b5 2005-08-28 Chris Toshok <[email protected]>
* HtmlHeadBuilder.cs: this is public.

	* HtmlSelectBuilder.cs: in 2.0 this is public.

	* HtmlInputButton.cs: fix boilerplate.

	* HtmlInputImage.cs (RaisePostBackEvent): add missing argument.
	(IPostBackEventHandler.RaisePostBackEvent): in 2.0, call
	Page.Validation(ValidationGroup).


svn path=/trunk/mcs/; revision=49006
2005-08-28 06:06:20 +00:00
Chris Toshok c713af553f 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputReset.cs: mostly complete implementation.


svn path=/trunk/mcs/; revision=49003
2005-08-28 05:52:08 +00:00
Chris Toshok 51661c2c64 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: doh, make this NET_2_0 only.


svn path=/trunk/mcs/; revision=49002
2005-08-28 05:25:29 +00:00
Chris Toshok 0c33719c43 2005-08-28 Chris Toshok <[email protected]>
* HtmlInputPassword.cs: implement.


svn path=/trunk/mcs/; revision=49001
2005-08-28 05:06:54 +00:00
Chris Toshok 299a32a0bc 2005-08-28 Chris Toshok <[email protected]>
* HtmlImage.cs: corcompare fixes.

	* HtmlInputCheckBox.cs: same.


svn path=/trunk/mcs/; revision=48999
2005-08-28 04:45:59 +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
Chris Toshok 7ce5479c3c 2005-08-27 Chris Toshok <[email protected]>
* HtmlForm.cs (DefaultButton, DefaultFocus): implement properties.
	(OnPreRender): figure out (hackishly) if we're uplevel rendering.
	If we have a default button/focus control set, register webform.js
	as a client script block, and emit some JS to focus the control.
	(RenderAttributes): verify that the DefaultButton attribute points
	to a valid IButtonControl implementing control.  Also remove the
	defaultfocus/defaultbutton attributes before calling
	base.RenderAttributes.


svn path=/trunk/mcs/; revision=48982
2005-08-27 19:57:51 +00:00
Kornél Pál ce88a7d1f0 Fixed 48519 to 48944 regressions.
svn path=/trunk/mcs/; revision=48979
2005-08-27 16:59:26 +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
Gert Driesen 0f84ad9c48 * HtmlForm.cs: Added UniqueID override to match MS.NET. Fixed line
endings.

svn path=/trunk/mcs/; revision=48364
2005-08-14 15:42:32 +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 549d091c76 2005-05-20 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputFile.cs: fixed typo in the setter for MaxLength. Closes bug
	number 74989.


svn path=/trunk/mcs/; revision=44848
2005-05-20 20:59:09 +00:00
Lluis Sanchez 9f9fd4d86c 2005-05-06 Lluis Sanchez Gual <[email protected]>
* HtmlHead.cs: Fix warning.


svn path=/trunk/mcs/; revision=44147
2005-05-06 16:26:08 +00:00
Lluis Sanchez e7a6837585 2005-04-22 Lluis Sanchez Gual <[email protected]>
* HtmlForm.cs: Use the new WriteSubmitStatements method from
	Page.ClientScript.


svn path=/trunk/mcs/; revision=43436
2005-04-22 10:51:39 +00:00
Lluis Sanchez b7c1b9a952 2005-03-11 Lluis Sanchez Gual <[email protected]>
* HtmlInputButton.cs, HtmlAnchor.cs, HtmlButton.cs: Don't use
	Page.GetPostBackClientEvent since it is deprecated in 2.0.


svn path=/trunk/mcs/; revision=41697
2005-03-11 13:24:59 +00:00
Lluis Sanchez f916b9e464 2005-02-25 Lluis Sanchez Gual <[email protected]>
* HtmlForm.cs: Register the form in the page, so the page knows
	which is the main form.


svn path=/trunk/mcs/; revision=41192
2005-02-25 12:08:54 +00:00
Lluis Sanchez db10d0cf0d 2005-02-18 Lluis Sanchez Gual <[email protected]>
* HtmlHead.cs: Method name fix.


svn path=/trunk/mcs/; revision=40888
2005-02-18 20:38:49 +00:00
Gonzalo Paniagua Javier 19f44a096e 2005-01-20 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: submitStatements holds Hashtables.


svn path=/trunk/mcs/; revision=39286
2005-01-20 22:38:24 +00:00
Lluis Sanchez 8d325261ed 2004-12-20 Lluis Sanchez Gual <[email protected]>
* HtmlHead.cs: Implemented.
	* HtmlHeadBuilder.cs: Implemented.
	* HtmlTitle.cs: Implemented.


svn path=/trunk/mcs/; revision=37991
2004-12-20 18:46:59 +00:00
Gonzalo Paniagua Javier d2437761d5 2004-12-15 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: MakeRelative() can be null. Thanks to Denis Gervaille.


svn path=/trunk/mcs/; revision=37777
2004-12-15 11:08:56 +00:00
Gonzalo Paniagua Javier fc8a3a8909 2004-11-29 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: fixed the Action property when running a different
	page than the one requested (Transfer). Closes bug #69318.


svn path=/trunk/mcs/; revision=36812
2004-11-30 03:04:33 +00:00
Lluis Sanchez 52759f4c8d 2004-11-26 Lluis Sanchez Gual <[email protected]>
* HtmlForm.cs: Add submit statements from the new Page.ClientScript
	property.


svn path=/trunk/mcs/; revision=36655
2004-11-26 16:45:23 +00:00
Gonzalo Paniagua Javier f58acb1bab 2004-06-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: disabled smartnavigation as we have no scripts to support
	it and failed when the browser was IE.

svn path=/trunk/mcs/; revision=30208
2004-06-23 15:16:27 +00:00
Gonzalo Paniagua Javier f186acc44a 2004-05-14 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: default value for Enctype is "".
	* HtmlInputFile.cs: if no one set the encoding type for the HtmlForm,
	we set it to "multipart/form-data". Fixes bug #58359.

svn path=/trunk/mcs/; revision=27332
2004-05-14 04:32:32 +00:00
Alon Gazit 882b61af8e The property name always return the value of the property UniqueID.
svn path=/trunk/mcs/; revision=22110
2004-01-15 12:36:43 +00:00
Alon Gazit b6cefa9d83 fix typo in LoadPostData().
svn path=/trunk/mcs/; revision=21715
2004-01-05 14:53:01 +00:00
Alon Gazit 149ba450ca update the implementation of RenderAttributes().
Change the if statement that determines if the onclick script is rendered.

svn path=/trunk/mcs/; revision=21536
2003-12-29 16:53:34 +00:00
Alon Gazit b0f32e8156 add parentheses to if statement.
Currently the else statement refers to the inner if statement.

svn path=/trunk/mcs/; revision=21514
2003-12-28 15:47:32 +00:00
Alon Gazit 5e44013bfd fix upper bound of for statement.
svn path=/trunk/mcs/; revision=21513
2003-12-28 14:57:52 +00:00
Jackson Harper e61ad15aa4 * HtmlInputFile.cs: Do not set value when loading post data.
svn path=/trunk/mcs/; revision=21363
2003-12-19 20:21:40 +00:00
Alon Gazit da27ee2dbb The problem was in HtmlInputButton.RenderAttributes().
Before adding the script to the HTML, the number of Validators should
be checked.

svn path=/trunk/mcs/; revision=21119
2003-12-14 16:44:08 +00:00
Alon Gazit a763520e25 fixing a typo in NoWrap property.
svn path=/trunk/mcs/; revision=20831
2003-12-07 09:47:45 +00:00
Jackson Harper 15677effbe * HtmlInputRadioButton.cs: Lookup name in postadata and compare to
value. This is because radio button groups are created by setting
	the name to the same value with each button, then on postback the
	value of the name is the id of the selected radio button.

svn path=/trunk/mcs/; revision=20761
2003-12-04 10:28:16 +00:00
Gonzalo Paniagua Javier 012ba810db 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlContainerControl.cs: encode/decode InnerText. Fixes bug #51653.

svn path=/trunk/mcs/; revision=20750
2003-12-03 18:54:09 +00:00
Gonzalo Paniagua Javier 118d627642 2003-12-03 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: with the new LosFormatter, we get array types right, so
	remove the code used to workaround that.

svn path=/trunk/mcs/; revision=20737
2003-12-03 15:04:36 +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
Gonzalo Paniagua Javier 464ba68686 2003-11-25 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: don't add items without data. Patch by Alon Gazit
	<[email protected]>. Fixes bug #51377.

svn path=/trunk/mcs/; revision=20424
2003-11-25 11:45:43 +00:00
Gonzalo Paniagua Javier bacb1930e5 2003-11-24 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputRadioButton.cs: initialize event indexer. Patch by Alon Gazit
	<[email protected]>.

svn path=/trunk/mcs/; revision=20396
2003-11-24 18:44:24 +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
Gonzalo Paniagua Javier 7ff1bfa673 2003-10-16 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: fixed infinite recursion.

svn path=/trunk/mcs/; revision=19105
2003-10-16 18:34:33 +00:00
Gonzalo Paniagua Javier d1459321c7 2003-10-13 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs: removed some debug lines.
	* System.Web.UI/Page.cs: implemented RegisterOnSubmitStatement
	* System.Web.UI/TemplateControl.cs: fixed wire up for methods with no
	parameters.
	* System.Web.UI.HtmlControls/HtmlForm.cs: render the onsubmit attribute.

svn path=/trunk/mcs/; revision=18945
2003-10-13 01:14:56 +00:00
Gonzalo Paniagua Javier fb235e91a6 2003-08-26 Gonzalo Paniagua Javier <[email protected]>
* HtmlGenericControl.cs: ConstructorNeedsTag defaults to false so we
	need to pass true here. Fixes bug #47918.

svn path=/trunk/mcs/; revision=17635
2003-08-26 19:57:28 +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 c8c7a12b23 2003-06-20 Gonzalo Paniagua Javier <[email protected]>
* HtmlSelect.cs: fixed bug #44894.

svn path=/trunk/mcs/; revision=15507
2003-06-20 13:07:15 +00:00
Gonzalo Paniagua Javier a1ddbcdbe5 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlImage.cs:
	* HtmlInputControl.cs:
	* HtmlSelect.cs: added control builder attribute.

	* HtmlSelectBuilder.cs: builder for HtmlSelect.

	* HtmlControlBuilder.cs: common builder for all HtmlControls.

svn path=/trunk/mcs/; revision=14143
2003-04-30 05:03:59 +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 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