DataBindingHandlerAttribute Constructor ()
.NET Framework (current version)
Initializes a new instance of the DataBindingHandlerAttribute class using no parameters. This is the default constructor.
Assembly: System.Web (in System.Web.dll)
The following code example uses the DataBindingHandlerAttribute constructor.
// The following example uses the Default // DataBindingHandlerAttribute constructor. using System; using System.Web; using System.Web.UI; using System.Web.UI.WebControls; using System.Security.Permissions; namespace MyTextCustomControl { [ DataBindingHandlerAttribute() ] [AspNetHostingPermission(SecurityAction.Demand, Level=AspNetHostingPermissionLevel.Minimal)] public sealed class MyTextBox : TextBox { protected override void Render(HtmlTextWriter output) { output.Write("This class uses the DataBindingHandlerAttribute class."); } } }
.NET Framework
Available since 1.1
Available since 1.1
Show: