mirror of
https://github.com/BepInEx/mono.git
synced 2026-11-17 01:41:17 -10:00
* 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
36 lines
642 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
|