Files
mono/mcs/class/System.Web/System.Web.UI.HtmlControls/HtmlSelectBuilder.cs
T
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

36 lines
642 B
C#

//
// System.Web.UI.HtmlControls.HtmlSelectBuilder
//
// Authors:
// Gonzalo Paniagua Javier ([email protected])
//
// (C) 2003 Ximian, Inc (http://www.ximian.com)
//
using System.Collections;
using System.Web.UI;
using System.Web.UI.WebControls;
namespace System.Web.UI.HtmlControls
{
#if NET_2_0
public
#endif
class HtmlSelectBuilder : ControlBuilder
{
public override bool AllowWhitespaceLiterals ()
{
return false;
}
public override Type GetChildControlType (string tagName, IDictionary attribs)
{
if (System.String.Compare (tagName, "option", true) != 0)
return null;
return typeof (ListItem);
}
}
}