DataBindingHandlerAttribute Constructor ()


Initializes a new instance of the DataBindingHandlerAttribute class using no parameters. This is the default constructor.

Namespace:   System.Web.UI
Assembly:  System.Web (in System.Web.dll)

public DataBindingHandlerAttribute()

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() ]
   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
Return to top