| Select List |
This module allows items (DB records) in the grid to be selected and optionally supports Quantity and item(s) deletion. The selections are remembered across pages. Select and Clear All buttons are also a built-in feature.
SelectList - Select Items only
|
<!--T_SelectList_1.aspx-->
<script language="vb" runat="server"> |
The top half of the code setup and SelectListand the bottom half process the selected items.
Another option of SelectList is the 'Quantity' option. Just add a few properties to the SelectedItemMacro to setup the Quantity column. If the quantity is blank or "0", it'll be eliminated. One user suggested that a "negative" quantity is required in order to process refund. This suggestion makes sense and it was implemented. Note that there are some data formatting code like "#2:currency#". Throughout Tornado, data fields are always presented as #field:format# where format bears the full spectrum of the VB.Net language syntax.
|
<!--T_SelectList_2.aspx--> <script language="vb" runat="server"> |