Class wwWebButton

The wwWebButton class is the typical 'action' item for a WebPage. Clicking a button usually submits the form and causes a Click event to be fired on the form.

Note that this interface is pretty sparse, but remember you have access to the the Attributes collection. In markup you can simply add any attributes needed and they will get added.

So:

<ww:wwWebButton ... AccessKey="S"/>

sets the AccessKey attribute as you would expect. From code you can do:

this.btnSubmit.Attributes.Add("AccessKey","S")
Custom
  wwWebControl
    wwWebButton

Class Members

MemberDescription

Click

Occurs when a user clicks the button.

OnClientClick

Code that is translated into the onclick client event.

Text

The text to display on the button.

UseSubmitBehavior

Determines whether a sumbit or a plain HTML Button is created when the button is rendered.


© West Wind Technologies, 1996-2018 • Updated: 09/24/09
Comment or report problem with topic