Enter Title

Enhanced List Box

We developed this Custom Control for project situations where we needed to present long lists of options for a user to choose from in a multi-select or single-select ListBox in XMod Pro forms.

Installation

Install the provided zip file through the DotNetNuke extension manager just like a standard module. Once the installation is complete the control can be used with XMod Pro Forms.

Usage

Add the following to the top of the XMod form you wish to add the control to:

<register tagprefix="mc" namespace="xmpcontrols" assembly="xmpcontrols" />

You can now add the custom control to the form using the following syntax:

<mc:EnhancedListBox

    Id="ddlCountries" 
    DataField="Country"  
    DataType="string"
    Rows="5" 
    Width="520"
    SelectionMode="Multiple" 
    SelectedItemsSeparator="|"
    DataSourceId="dsCountries" 
    DataTextField="Text" 
    DataValueField="Text" 
    AppendDataBoundItems="true"
>
<ListItem Value="-1">- Please Select -</ListItem>

Properties

The Enhanced Listbox extends the standard Xmod Listbox meaning that all standard Listbox properties are available

Notes

Read The Blog!

Ideas, tips and information on what we're developing for XMod Pro!

Moore Creative's XMod Pro Blog »

Modules On Snowcovered

See all of the modules on store.DotNetNuke.com, several are free DNN modules!

Custom DNN Development

Let us build custom DNN solutions for you! l

Need Support?

Want to see a demo? Need help setting up a module or XMod Pro custom control?
Contact Us