Commit Graph
14 Commits
Author SHA1 Message Date
Marek Habersack ef9c9e51ce Do not abuse the 'private' keyword
svn path=/trunk/mcs/; revision=116539
2008-10-20 17:37:54 +00:00
Marek Safar f3f05c2055 Warnings cleanup
svn path=/trunk/mcs/; revision=111904
2008-08-29 09:48:05 +00:00
Rodrigo Kumpera 7d3529a49d 2008-07-16 Rodrigo Kumpera <[email protected]>
* DataBoundLiteralControl.cs: Lazily create staticLiterals.

	* DataBoundLiteralControl.cs (Render): Don't generate
	an intermediate string, write the content directly.


svn path=/trunk/mcs/; revision=108036
2008-07-16 14:43:08 +00:00
Gonzalo Paniagua Javier dfdec159d7 2005-09-29 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/DesignerDataBoundLiteralControl.cs: changed autoid api.
	* System.Web.UI/DataBoundLiteralControl.cs: changed autoid api.

	* System.Web.UI/Control.cs: fixlet for UniqueID and weird test case.
	Removed PreventAutoID and only use the property to set that value.

	* System.Web.UI/LiteralControl.cs: changed autoid api.

	* System.Web.UI.WebControls/Button.cs: implemented 2.0
	RaisePostBackEvent in terms of the existing code in 1.1 (or viceversa).
	RenderContents() does nothing.

	* System.Web.UI.WebControls/DataGrid.cs: changed autoid api.

	* System.Web.UI.WebControls/EditCommandColumn.cs: only 'Update' causes
	validation.

	* System.Web.UI.WebControls/TableCell.cs: changed autoid api.
	RenderContents checks the number of controls to decide what to do, not
	the value of Text in the viewstate.

	* System.Web.UI.WebControls/TableRow.cs: changed autoid api.

	* System.Web.UI.WebControls/BoundColumn.cs: SelectedItem was missing
	when attaching a DataBind event. When we get an EditItem, we need a
	TextBox to be created and this one will be the one that gets the event.
	Changed ItemDataBinding to deal with a TextBox too.

	All tests pass now in the default profile (2 not run).


svn path=/trunk/mcs/; revision=51019
2005-09-30 02:22:33 +00:00
Sebastien Pouliot 197375627a 2005-09-14 Sebastien Pouliot <[email protected]>
* DataBinder.cs: Added LinkDemand for AspNetHostingPermission with 
	Minimal level. Fixed some exceptions.
	* DataBindingCollection.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Added 2.0 method and 
	event.
	* DataBindingHandlerAttribute.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* DataBinding.cs: Added LinkDemand for AspNetHostingPermission with
	Minimal level. Simplified Equals (reduced casts).
	* DataBoundLiteralControl.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Implemented ITextControl
	for 2.0.
	* DesignerDataBoundLiteralControl.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level.
	* DesignTimeParseData.cs: Added LinkDemand for AspNetHostingPermission
	with Minimal level. Added new 2.0 properties.
	* DesignTimeTemplateParser.cs: Added LinkDemand for 
	AspNetHostingPermission with Minimal level. Made class static and 
	stubbed missing methods (2.0).
	* EmptyControlCollection.cs: Added LinkDemand and InheritanceDemand 
	for AspNetHostingPermission with Minimal level. Changed Add* methods
	exceptions to HttpException.


svn path=/trunk/mcs/; revision=50067
2005-09-15 02:57:58 +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
Ben Maurer 0e8decdb37 remove svn:executable from .cs files
svn path=/trunk/mcs/; revision=46562
2005-06-27 15:51:40 +00:00
Duncan Mak d1c09fcc67 Add licensing info
svn path=/trunk/mcs/; revision=30345
2004-06-24 20:59:43 +00:00
Gonzalo Paniagua Javier 9df48218d9 no need to allocate new array
svn path=/trunk/mcs/; revision=18433
2003-09-30 14:16:22 +00:00
Gonzalo Paniagua Javier c1f8e0e8e4 2003-09-29 Gonzalo Paniagua Javier <[email protected]>
* Control.cs:
	(ClearChildViewState): doh! Don't clear control viewstate but the
	viewstate of possible children.
	(LoadViewStateRecursive): load viewstate even when control is not
	visible.
	Fixes bug #49024.
	The rest are just dangling ^M removed.

	* DataBoundLiteralControl.cs:
	(LoadViewState): we get an object [], not a string [].

svn path=/trunk/mcs/; revision=18405
2003-09-29 19:14:56 +00:00
Gonzalo Paniagua Javier b65f52da22 class status fixes
svn path=/trunk/mcs/; revision=16035
2003-07-08 09:37:18 +00:00
Gonzalo Paniagua Javier 8f35dc38ed 2002-07-12 Gonzalo Paniagua Javier <[email protected]>
* System.Web.build: removed some more excludes.

	* System.Web.Hosting/AppDomainFactory.cs:
	* System.Web.Hosting/IAppDomainFactory.cs:
	* System.Web.Hosting/IISAPIRuntime.cs:
	* System.Web.Hosting/ISAPIRuntime.cs: make them compile.

	* System.Web.UI/AttributeCollection.cs: added CssStyleCollection.

	* System.Web.UI/CssStyleCollection.cs: use a StateBag instead of a
	Hashtable. Added internal .ctor.

	* System.Web.UI/DataBinding.cs: propertyType is a Type. Implemented
	Equals and GetHashCode.

	* System.Web.UI/DataBoundLiteralControl.cs:
	(LoadViewState):
	(SaveViewState): implemented.

	* System.Web.UI/Page.cs: FileDependencies is not public.

	* System.Web.UI/ParseChildrenAttribute.cs: give a value to Default.
	(GetHashCode):
	(Equals):
	(IsDefaultAttribute): implemented.

svn path=/trunk/mcs/; revision=5743
2002-07-12 19:19:55 +00:00
Gonzalo Paniagua Javier 087e90c0ff 2002-06-20 Gonzalo Paniagua Javier <[email protected]>
* System.Web.UI/Control.cs:
	(AddedControl): new function that is called whenever a control is
	added to a collection of controls in a container. It sets the defaults
	except for Page.

	* System.Web.UI/ControlCollection.cs: call AddedControl in Add/AddAt.

	* System.Web.UI/DataBoundLiteralControl.cs: implemented constructor,
	Text, Render, SetStaticString and SetDataBoundString.

	* System.Web.UI/Page.cs: removed SetDefaults.

	* System.Web.UI.WebControls/Repeater.cs: implemented
	CreateControlHierarchy. Fixed some event processing methods.

svn path=/trunk/mcs/; revision=5357
2002-06-20 07:59:53 +00:00
Duncan Mak b3976280ad 2002-05-17 Duncan Mak <[email protected]>
* System.Web.build: Added new arguments: "/noconfig",
	"/r:System.Drawing.dll" and "/r:System.Xml.dll".

	* AttributeCollection.cs:
	* ControlCollection.cs:
	* CssStyleCollection.cs:
	* DataBindingCollection.cs:
	* EmptyControlCollection.cs: Added missing Collection classes.

	* BaseParser.cs:
	* TemplateParser.cs:  Implemented. BaseParser is weird because
	there is no documentation on what it does.

	* ControlBuilder.cs:

	* DataBinder.cs:
	* DataBinding.cs: Added.

	* DataBoundLiteralControl.cs:
	* Triplet.cs: Added.

	* RenderMethod.cs: Added this delegate for Control.cs

svn path=/trunk/mcs/; revision=4726
2002-05-17 20:54:14 +00:00