Hello!
At this moment I have 3 RadListBoxes side by side and an Button like the code bellow.
The purpose is to select items on the 3 listBoxes and click on the "assign" button, and select those select items on a Table on my database.
I have already my 3 ListBoxes populating data using DataBind().
Can you show me an example of doing that with MVP and Entity Framework? All the 3 list boxes have multiple selection, and i have already the edmx created for my database and the class for that table, i want to insert data named (UsersAssign).
At this moment I have 3 RadListBoxes side by side and an Button like the code bellow.
The purpose is to select items on the 3 listBoxes and click on the "assign" button, and select those select items on a Table on my database.
I have already my 3 ListBoxes populating data using DataBind().
Can you show me an example of doing that with MVP and Entity Framework? All the 3 list boxes have multiple selection, and i have already the edmx created for my database and the class for that table, i want to insert data named (UsersAssign).
<
telerik:RadListBox
ID
=
"RadListBox1"
runat
=
"server"
AllowReorder
=
"True"
Skin
=
"Black"
SelectionMode
=
"Multiple"
Sort
=
"Ascending"
Height
=
"400px"
Width
=
"250px"
EnableDragAndDrop
=
"True"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
HeaderTemplate
>
<
h5
style
=
"color: White; text-align: center"
>
USERS</
h5
>
</
HeaderTemplate
>
</
telerik:RadListBox
>
<
telerik:RadListBox
ID
=
"RadListBox2"
runat
=
"server"
SelectionMode
=
"Multiple"
EnableDragAndDrop
=
"True"
Height
=
"400px"
Width
=
"200px"
AllowReorder
=
"True"
Skin
=
"Black"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
HeaderTemplate
>
<
h5
style
=
"color: White; text-align: center"
>
GROUPS</
h5
>
</
HeaderTemplate
>
</
telerik:RadListBox
>
<
telerik:RadListBox
ID
=
"RadListBox3"
runat
=
"server"
SelectionMode
=
"Multiple"
EnableDragAndDrop
=
"True"
Height
=
"400px"
Width
=
"200px"
AllowReorder
=
"True"
Skin
=
"Black"
>
<
ButtonSettings
TransferButtons
=
"All"
></
ButtonSettings
>
<
HeaderTemplate
>
<
h5
style
=
"color: White; text-align: center"
>
STAGING</
h5
>
</
HeaderTemplate
>
</
telerik:RadListBox
>
<
telerik:RadButton
ID
=
"RadButton1"
runat
=
"server"
Text
=
"Assign"
Skin
=
"Black"
Width
=
"100px"
Height
=
"50px"
onclick
=
"RadButton1_Click"
>
</
telerik:RadButton
>