Menu

First Web Control Released!

The first Web Control based on the System.Web.UI.Control class has been released. It is a simple yet powerful example of an object-oriented Web Control at work.

To use include the System, System.Web, and System.Web.UI.WebControls.Toolbar Namespaces. Then review the HTML syntax below for controlling the UI.

<DIV Name="a" WebControlClass="System.Web.UI.WebControls.Toolbar" style="height:70" onclick="Click_Event" onselectstart="return(false)" oncontextmenu="return(false)">
<SPAN WebControlClass="System.Web.UI.WebControls.ToolbarButton" Text="Hello There" Name="Stuff" Icon="Book.gif" width=95 ToolTip="Hello World"></span>
<SPAN WebControlClass="System.Web.UI.WebControls.ToolbarButton" Text="Hello There" Icon="Book.gif" width=95></span>
<SPAN WebControlClass="System.Web.UI.WebControls.ToolbarButton" Text="Hello There" Icon="Book.gif" width=95></span>
</DIV>

Posted by Kevin Swarts 2002-10-06

Log in to post a comment.