Commit Graph
135 Commits
Author SHA1 Message Date
Igor Zelmanovich 2cb334b390 2007-02-14 Igor Zelmanovich <[email protected]>
* Page.cs: for 2.0: refactoring:
	prepare infrastructure for Form.SubmitDisabledControls feature	 

2007-02-19  Igor Zelmanovich  <[email protected]>

	* HtmlInputCheckBox.cs:
	* HtmlInputControl.cs:
	* HtmlInputHidden.cs:
	* HtmlInputRadioButton.cs:
	* HtmlInputText.cs:
	* HtmlSelect.cs:
	* HtmlTextArea.cs:
	fixed: Form.SubmitDisabledControls feature:	
	not all HtmlInputControl need to be reenabled on client.		  


svn path=/trunk/mcs/; revision=73102
2007-02-19 10:19:11 +00:00
Eyal Alalouf 9396a91227 add Http callback support for J2EE portlets.
svn path=/trunk/mcs/; revision=73071
2007-02-18 12:28:38 +00:00
Miguel de Icaza 6b4c7232fd * SiteMapNode.cs (GetExplicitResourceString): implement.
* HttpContext.cs (GetGlobalResourceObject): remove unused variable.

        * StaticFileHandler.cs (ProcessRequest): remove unused variable.

        * HttpApplication.cs (ProcessError): Remove unused variable.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ClientBuildManager.cs: Remove unused variable (this could be a
        real problem, we never use the appPhysicalTargetDir)

        * AssemblyBuilder.cs: Remove unused field.

        * AppResourceFilesCollection.cs: Remove unused field.

        * TemplateControlCompiler.cs (GetExpressionFromString): Remove
        unused variable.

        * AppResourcesCompiler.cs: Remove unused variable.

        * AppSettingsExpressionBuilder.cs (GetAppSetting): remove unused
        parameter.

        * PageCompiler.cs: Put InternalCreatePageProperty inside the
        NET_2_0 block to eliminate warnings.

2007-01-20  Miguel de Icaza  <[email protected]>

        * HandlerFactoryConfiguration.cs (LoadType): remove unused
        variable.
        (ctor): do not assign parent, we do not use it, keep the code for
        reference.

2007-01-20  Miguel de Icaza  <[email protected]>

        * ApplicationManager.cs: Remove unused variable.
        (ShutdownAll) remove unused variables.

        * ApplicationHost.cs: Protect create_dir lock

2007-01-20  Miguel de Icaza  <[email protected]>

        * SqlRoleProvider.cs: comment out unused code.

        * SqlMembershipProvider.cs: Removed unused variables.
        Remove unused variable.

        * AnonymousIdentificationModule.cs (ClearAnonymousIdentifier):
        remove unused variable.   This might be a real bug.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionStateModule.cs: Removed unused variables.

2007-01-20  Miguel de Icaza  <[email protected]>

        * SessionDictionary.cs: Removed unused variable (dirty).

2007-01-20  Miguel de Icaza  <[email protected]>

        * XhtmlTextWriter.cs: comment out unused code.

        * ThemeProvider.cs: comment out unused code.

        * DataSourceView.cs: Comment unused variable.

        * ClientScriptManager.cs: Put the expandoAttributes inside the 2.0
        code

        * Control.cs: Put _templateControl inside the NET_2_0 ifdef

2007-01-20  Miguel de Icaza  <[email protected]>

        * HtmlHead.cs: comment out unused code, in particular metadata is
        commented out because nothing could have triggered its creation.

        * HtmlButton.cs: Move declaration of `csm' inside the 1.1 case.

2007-01-20  Miguel de Icaza  <[email protected]>

        * DataControlFieldCollection.cs (RemoveAt): remove unused
        variable.

        * RoleGroupCollection.cs (OnValidate): Flag as protected, as it
        should not show up.

        * RadioButton.cs (RaisePostDataChangedEvent): This method was not
        used in 1.0, so put the whole method in 2.0

2007-01-20  Miguel de Icaza  <[email protected]>

        * WebPart.cs: Remove

        * PersonalizableAttribute.cs: Remove extra API that was wrong as well.

2006-11-28  Miguel de Icaza  <[email protected]>

        * WebPart.cs:

2007-01-20  Miguel de Icaza  <[email protected]>

        * FileUtils.cs (CreateTemporaryFile): Remove unused variable.



svn path=/trunk/mcs/; revision=71399
2007-01-20 22:42:04 +00:00
Vladimir Krasnov 5f5ddd3c23 * HtmlLink.cs: fixed RenderAttributes, href should be resolved
svn path=/trunk/mcs/; revision=71151
2007-01-16 16:52:52 +00:00
Eyal Alalouf a7135f35cd Add portal support
svn path=/trunk/mcs/; revision=70988
2007-01-14 17:10:38 +00:00
Eyal Alalouf edee81ecd7 process relative URL to the image.
svn path=/trunk/mcs/; revision=70976
2007-01-14 11:49:10 +00:00
Igor Zelmanovich fa528f8d94 2007-01-07 Igor Zelmanovich <[email protected]>
* HtmlInputRadioButton.cs: fixed: LoadPostData.		  


svn path=/trunk/mcs/; revision=70594
2007-01-07 16:49:28 +00:00
Igor Zelmanovich d73da32dda 2007-01-07 Igor Zelmanovich <[email protected]>
* HtmlImputImage.cs: fixed: OnServerClick.		  

svn path=/trunk/mcs/; revision=70592
2007-01-07 16:06:46 +00:00
Gonzalo Paniagua Javier 70d470e741 2006-12-27 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: ignore user provided 'onsubmit' for HtmlForm. See
	bug #76974.


svn path=/trunk/mcs/; revision=70153
2006-12-28 05:30:13 +00:00
Igor Zelmanovich 2d0737f93e 2006-11-27 Igor Zelmanovich <[email protected]>
* Page.cs: implemented SetFocus methods.
	* PageLifeCycle.cs: 	


svn path=/trunk/mcs/; revision=68508
2006-11-27 13:22:55 +00:00
Marek Habersack 648d00f214 Support for event validation
svn path=/trunk/mcs/; revision=68082
2006-11-17 18:56:07 +00:00
Igor Zelmanovich 92574d4e3a 2006-11-13 Igor Zelmanovich <[email protected]>
* HtmlContainerControl.cs: fixed: InnerHtml property  


svn path=/trunk/mcs/; revision=67743
2006-11-13 08:35:05 +00:00
Miguel de Icaza eddcbbfb49 Update this
svn path=/trunk/mcs/; revision=66631
2006-10-12 18:59:21 +00:00
Igor Zelmanovich 50ea672254 * Page.cs: fixed: Title property works properly
svn path=/trunk/mcs/; revision=65569
2006-09-18 10:29:06 +00:00
Igor Zelmanovich 1231ea0529 make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65550
2006-09-17 14:45:58 +00:00
Igor Zelmanovich fa9dde8d8e make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65538
2006-09-17 13:22:12 +00:00
Igor Zelmanovich f420d63d3a make rendering of the onclick attribute to consider ValidationGroup property
svn path=/trunk/mcs/; revision=65536
2006-09-17 12:47:35 +00:00
Igor Zelmanovich 03f6a0761b * HtmlAnchor.cs:
implemented CausesValidation and ValidationGroup properties	

svn path=/trunk/mcs/; revision=65523
2006-09-17 08:50:05 +00:00
Vladimir Krasnov 4fb9cd52b7 * HtmlInputFile.cs: fixed Value property
svn path=/trunk/mcs/; revision=65151
2006-09-10 07:19:51 +00:00
Gonzalo Paniagua Javier d3bfb70eba 2006-08-23 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: encode the value in 1.x too. Patch by Dean Brettle.


svn path=/trunk/mcs/; revision=64266
2006-08-23 18:49:49 +00:00
Vladimir Krasnov 1e2c9cee0c * UI/ParseChildrenAttribute.cs: fixed ChildControlType property to compliant to .net
* UI/UserControl.cs: fixed ParseChildren attribute to be compliant to .net
* WebControls/Content.cs:
* WebControls/Label.cs:
* WebControls/ListControl.cs:
* WebControls/MultiView.cs:
* WebControls/WebControl.cs: fixed ParseChildren attribute to be compliant to .net
* HtmlControls/HtmlTable.cs:
* HtmlControls/HtmlTableRow.cs: fixed ParseChildren attribute to be compliant to .net


svn path=/trunk/mcs/; revision=63490
2006-08-08 15:47:47 +00:00
Andrew Skiba fff15402c6 * System.Web.UI.HtmlControls/HtmlInputControl.cs: remove obsolete #if NET_2_0
svn path=/trunk/mcs/; revision=62493
2006-07-12 12:04:21 +00:00
Juraj Skripsky 297a959f60 2006-06-06 Juraj Skripsky <[email protected]>
* HtmlForm.cs (RenderAttributes): Sync with changes to HttpRequest.
	Fixes bug #78591.


svn path=/trunk/mcs/; revision=61482
2006-06-06 11:41:58 +00:00
Gonzalo Paniagua Javier f7b4e4d623 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: Value is HtmlEncoded/Decoded in 2.0. Fixes
	bug #78074.


svn path=/trunk/mcs/; revision=59780
2006-04-21 22:05:32 +00:00
Gonzalo Paniagua Javier 0774c9f959 2006-04-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputRadioButton.cs: Value returns the ID only when there's no
	"value" set. Fixes bug #78101.


svn path=/trunk/mcs/; revision=59770
2006-04-21 18:51:20 +00:00
Vladimir Krasnov 1a023fc019 * HtmlAnchor.cs: fixed RenderAttributes, if target attribute is empty it shouldn't be rendered
* HtmlForm.cs: fixed Method, default method "post" should be added if its value null or empty string
* HtmlInputImage.cs: fixed SetAtt, it removes attributes if it has null value, the fix is to remove attributes with empty string value too

svn path=/trunk/mcs/; revision=58162
2006-03-19 17:16:09 +00:00
Chris Toshok 4c4d07b4ec 2006-02-23 Chris Toshok <[email protected]>
* HtmlButton.cs: fix corcompare output.

	* HtmlInputButton.cs: same.

	* HtmlInputImage.cs: same.

	* HtmlInputReset.cs: same.


svn path=/trunk/mcs/; revision=57213
2006-02-23 18:34:01 +00:00
Chris Toshok 96b3f40a2b 2006-01-22 Chris Toshok <[email protected]>
* HtmlInputButton.cs:
	s/GetPostBackClientEvent/GetPostBackEventReference.


svn path=/trunk/mcs/; revision=55916
2006-01-22 20:59:41 +00:00
Gonzalo Paniagua Javier 0edc1d4124 2005-12-01 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableRow.cs: Cells is virtual in latest 1.1.


svn path=/trunk/mcs/; revision=53800
2005-12-01 22:06:07 +00:00
Gonzalo Paniagua Javier 7a830b9926 2005-11-30 Gonzalo Paniagua Javier <[email protected]>
* HtmlTableRow.cs: fixed the same problem in bug #76815 but this time
	for cells.
	* HtmlTable.cs: moved WriteLine around.


svn path=/trunk/mcs/; revision=53705
2005-11-30 20:02:31 +00:00
Gonzalo Paniagua Javier 5b9ce3b01a 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: more class-status fixes.


svn path=/trunk/mcs/; revision=53601
2005-11-28 23:07:30 +00:00
Gonzalo Paniagua Javier 1a0cda6503 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlTextArea.cs: 'Name' is the UniqueID. Fixes bug #76802.


svn path=/trunk/mcs/; revision=53594
2005-11-28 21:58:56 +00:00
Gonzalo Paniagua Javier 1b5e79051d 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlTable.cs: use the base class RenderChildren, as '_rows'
	might not be the actual collection being used. Fixes bug #76815.


svn path=/trunk/mcs/; revision=53593
2005-11-28 21:48:58 +00:00
Gonzalo Paniagua Javier c15213a5b3 2005-11-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputFile.cs: if no one else set the encoding type for the
	containing form and there's a HtmlInputFile, set Enctype to
	'multipart/form-data'. Fixes bug #76837.


svn path=/trunk/mcs/; revision=53567
2005-11-28 18:06:53 +00:00
Gonzalo Paniagua Javier b503884e37 2005-11-21 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: render the onclick attribute only when the
	button is a 'submit' and no validators or when the button is a
	'button' and there's a registered ServerClick event. Fixes bug #76781.


svn path=/trunk/mcs/; revision=53316
2005-11-21 18:41:45 +00:00
Gonzalo Paniagua Javier 5623cd5bb2 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: register the form and require viewstate hidden field to
	be rendered in Render() even if OnInit is not called.


svn path=/trunk/mcs/; revision=50986
2005-09-29 05:51:06 +00:00
Gonzalo Paniagua Javier b6c3ab6145 2005-09-28 Gonzalo Paniagua Javier <[email protected]>
* HtmlHead.cs: fix the 2.0 build.


svn path=/trunk/mcs/; revision=50949
2005-09-28 15:38:30 +00:00
Gonzalo Paniagua Javier aaf12f496d 2005-09-22 Gonzalo Paniagua Javier <[email protected]>
* HtmlForm.cs: when transfering from one page to another and using
	cookieless session, we were doing pretty bad. Now, if the current path
	and the original are the same, we just use the filename. Otherwise
	we make the action location be relative to the original URL.


svn path=/trunk/mcs/; revision=50560
2005-09-23 03:09:26 +00:00
Gonzalo Paniagua Javier 937352e462 2005-09-19 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputButton.cs: render the onclick for doing a postback even when
	there are no validators.


svn path=/trunk/mcs/; revision=50258
2005-09-19 21:02:22 +00:00
Sebastien Pouliot 654fbba661 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlInputPassword.cs: Removed ctor(string) as it's not in 2.0 RC.
	

svn path=/trunk/mcs/; revision=50252
2005-09-19 18:43:11 +00:00
Sebastien Pouliot 87102f681d 2005-09-19 Sebastien Pouliot <[email protected]>
* HtmlAnchor.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on HRef property for 2.0.
	* HtmlButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlHead.cs: Remove IPageHeader interface.
	* HtmlImage.cs: Added [UrlProperty] on Src property for 2.0.
	* HtmlInputButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputCheckBox.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputHidden.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputImage.cs: Added [SupportsEventValidation] on class and 
	[UrlProperty] on Src property for 2.0.
	* HtmlInputPassword.cs: Added [SupportsEventValidation].
	* HtmlInputRadioButton.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlInputReset.cs: Added [SupportsEventValidation].
	* HtmlInputSubmit.cs: Added [SupportsEventValidation].
	* HtmlInputText.cs: Added [SupportsEventValidation] on class and 
	re-enabled RenderAttribute for 2.0.
	* HtmlLink.cs: Added [UrlProperty] on HRef property for 2.0.
	* HtmlSelect.cs: Added [SupportsEventValidation] for 2.0.
	* HtmlTextArea.cs: Added [SupportsEventValidation] for 2.0.


svn path=/trunk/mcs/; revision=50248
2005-09-19 18:08:33 +00:00
Chris Toshok 295c081e9d 2005-09-18 Chris Toshok <[email protected]>
* HtmlButton.cs (RenderAttribute): make sure to use WriteAttribute
	instead of AddAttribute when dealing with "onclick."


svn path=/trunk/mcs/; revision=50204
2005-09-18 22:48:27 +00:00
Sebastien Pouliot bf7d08d771 2005-09-14 Sebastien Pouliot <[email protected]>
* HtmlHead.cs: Fixed parameter orders for CreateStyleRule.


svn path=/trunk/mcs/; revision=50042
2005-09-14 17:26:26 +00:00
Chris Toshok df181d2245 2005-09-11 Chris Toshok <[email protected]>
* HtmlInputFile.cs (set_Value): add a message to the
	NotSupportedException.

	* HtmlInputControl.cs (RenderAttributes): add Page != null to the
	checks before we register our control with the
	__enabledControlArray JS array.


svn path=/trunk/mcs/; revision=49915
2005-09-11 17:26:39 +00:00
Chris Toshok 6e7028376b 2005-09-09 Chris Toshok <[email protected]>
* HtmlInputButton.cs (CausesValidation): this is stored in
	Attributes, not ViewState.
	(ValidationGroup): same.
	(RenderAttributes): remove CausesValidation from the list of
	Attributes before calling base.RenderAttributes.  Don't, however,
	remove ValidationGroup, to replicate an MS bug.


svn path=/trunk/mcs/; revision=49822
2005-09-09 19:22:54 +00:00
Chris Toshok ddc4de6ef3 2005-09-07 Chris Toshok <[email protected]>
* HtmlForm.cs (DefaultFocus): not stored in Attributes either.
	(Name): not sure about this property.. the getter apparently just
	returns UniqueID, and the setter does nothing that I can figure
	out.
	(RenderAttributes): don't bother to remove "name", since it's not
	in the attributes anyway.


svn path=/trunk/mcs/; revision=49668
2005-09-07 22:01:48 +00:00
Gonzalo Paniagua Javier 379593e708 2005-09-07 Gonzalo Paniagua Javier <[email protected]>
* HtmlInputControl.cs: use the Name property instead of the ClientID.
	The 'name' attribute rendered contains colons if inside a
	NamingContainer.


svn path=/trunk/mcs/; revision=49656
2005-09-07 18:52:13 +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
Chris Toshok 5466908dd1 2005-09-06 Chris Toshok <[email protected]>
* HtmlInputControl.cs (RenderAttributes): Check Page.Form for
	null.


svn path=/trunk/mcs/; revision=49603
2005-09-07 01:25:33 +00:00
Chris Toshok 7682038aef 2005-09-06 Chris Toshok <[email protected]>
* HtmlInputControl.cs (RenderAttributes): use ClientID instead of
	ID.


svn path=/trunk/mcs/; revision=49588
2005-09-06 22:33:54 +00:00