Commit Graph
9 Commits
Author SHA1 Message Date
Marek Habersack 36571ed72b 2010-05-05 Marek Habersack <[email protected]>
* CollectionBuilder.cs: if a type has more than on indexer, check
	all of them for type compliance in GetChildControlType. Fixes bug
	#601290. Patch from Kalyanov Dmitry <[email protected]>,
	thanks!

svn path=/trunk/mcs/; revision=156714
2010-05-05 09:34:46 +00:00
Marek Habersack 44bca195b9 2009-05-10 Marek Habersack <[email protected]>
* Makefile (TEST_RESOURCE_FILES): added
	Test/mainsoft/NunitWebResources/ExpressionInListControl.aspx

2009-05-10  Marek Habersack  <[email protected]>

	* AspGenerator.cs: keep processing the tag if it is not a server
	one and contains expressions and no code render blocks.

2009-05-10  Marek Habersack  <[email protected]>

	* TemplateControlCompilerTest.cs: added a test for expressions in
	list control items.

svn path=/trunk/mcs/; revision=133861
2009-05-10 20:29:01 +00:00
Marek Habersack 3fcbf0735a 2009-01-13 Marek Habersack <[email protected]>
* CodeBuilder.cs, RootBuilder.cs, CollectionBuilder.cs: updates
	related to ControlBuilder cleanup.

	* ControlBuilder.cs: code cleanup - no field should be visible
	outside the class unless it's a constant or a read-only field.

2009-01-13  Marek Habersack  <[email protected]>

	* XmlBuilder.cs: updates related to ControlBuilder cleanup.

2009-01-13  Marek Habersack  <[email protected]>

	* TemplateControlCompiler.cs, AspGenerator.cs, BaseCompiler.cs,
	GlobalAsaxCompiler.cs, PageThemeCompiler.cs: updates related to
	ControlBuilder cleanup.


svn path=/trunk/mcs/; revision=123229
2009-01-13 18:38:18 +00:00
Marek Habersack 040076ea09 2007-05-09 Marek Habersack <[email protected]>
* CollectionBuilder.cs: formatting changes

	* ControlBuilder.cs: if a control enables children as properties,
	has a default property and parser encounters a child tag/container
	with the default property name, discard the default property
	builder in order to avoid invalid sub builder invocation. An
	example is: <asp:DropDownList><Items></Items></asp:DropDownList>
	Formatting changes.
	When checking for empty string, use Length not comparison with ""

svn path=/trunk/mcs/; revision=76995
2007-05-09 11:03:08 +00:00
Lluis Sanchez cbc89ca56a 2005-04-01 Lluis Sanchez Gual <[email protected]>
* DataSourceView.cs: Rethrow exceptions not handled by operation
	callbacks.
	* ITextControl.cs: Removed event.
	* CollectionBuilder.cs: Don't crash when a collection has more
	than one indexer.


svn path=/trunk/mcs/; revision=42468
2005-04-01 17:29:02 +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 b65f52da22 class status fixes
svn path=/trunk/mcs/; revision=16035
2003-07-08 09:37:18 +00:00
Gonzalo Paniagua Javier a0a0d602bc 2003-04-30 Gonzalo Paniagua Javier <[email protected]>
* ApplicationFileParser.cs: it works now. Prior to these changes, we
	were using the compiler directly.

	* BaseParser.cs: added some useful properties and methods.

	* CodeBuilder.cs: use ILocation.
	* CodeRenderBuilder.cs: use ILocation.
	* CollectionBuilder.cs: use the RootBuilder to map tag names into Types.

	* ControlBuilder.cs: made it useful.

	* DataBindingBuilder.cs: the control type for data bound text is
	DataBoundLiteralControl now.

	* ObjectTagBuilder.cs: store some object tag attributes.

	* PageParser.cs: handle page-only directives.

	* RootBuilder.cs: bah.
	* SimpleWebHandlerParser.cs: made it dummy.
	* TemplateControl.cs: Modified file.

	* TemplateControlParser.cs: handle directives that are common to pages
	and user controls.

	* TemplateParser.cs: utility methods and handling of directives that
	are common to app, page and user controls.

	* UserControl.cs: added ControlBuilderAttribute.

	* UserControlControlBuilder.cs: builder for user controls.
	* UserControlParser.cs: use the new interfaces.

svn path=/trunk/mcs/; revision=14142
2003-04-30 05:02:54 +00:00
Gonzalo Paniagua Javier f9e281c517 2003-04-15 Gonzalo Paniagua Javier <[email protected]>
* list: added CollectionBuilder and TemplateBuilder.
	* System.Web.UI/CollectionBuilder.cs:
	* System.Web.UI/TemplateBuilder.cs: new classes derived from
	ControlBuilder that represent a property or a ITemplate.

	* System.Web.UI/ControlBuilder.cs: implemented all the missing bits.
	* System.Web.UI/TemplateParser.cs: added mapping from tag name to
	Type feature.

svn path=/trunk/mcs/; revision=13632
2003-04-15 03:00:06 +00:00