wwWebListControl::Change

Fires if AutoPostBack is set to .T. and you select a new item in the list.

A typical setup looks like this in the Page (using a wwWebListbox concrete instance):

<ww:wwWebListBox runat="server" id="lstStates" 
                 AutoPostBack="True" Change="lstStates_Change" />

On the server you then implement:

FUNCTION lstStates_Change()
this.lblSelected.Text = this.lstStates.SelectedIndex
ENDFUNC
o.Change()

See also:

Class wwWebListControl

© West Wind Technologies, 1996-2019 • Updated: 02/21/08
Comment or report problem with topic