Login Register

multiselect

dijit.form.MultiSelect , how to select all items programatically

Can some one throw light on how to programatically select All items in MulitiSelect box?
My scenario is I have two MultiSelect boxes one with list of 'Available items' and the second one is list of 'selected items'(using right and left arrow buttons I could move items from one box to another box). Now once I'm done with my selection I have to get all the items which I have moved into second box(selected items) to send it to server. How can we acheve this? Any Help is appreciated, thank you.

Programmatic MultiSelect

I get an error trying to create a MultiSelect programmatically.

The error is around line 21 as says: "Object doesn't support this property or method"

Has anyone had any success doing this?

Source:


<html>
<head>

<title></title>

<style type="text/css">
@import "/dojoroot/dijit/themes/tundra/tundra.css";
@import "/dojoroot/dojo/resources/dojo.css";
</style>
<style>
/* NOTE: for a full screen layout, must set body size equal to the viewport. */

Syndicate content