Skip to content

Instantly share code, notes, and snippets.

@mlehman
Created April 22, 2010 22:57
Show Gist options
  • Save mlehman/375941 to your computer and use it in GitHub Desktop.
Save mlehman/375941 to your computer and use it in GitHub Desktop.
Fluent.ListTransfer Example
<%@ Register TagPrefix="fluent" Namespace="Fluent" Assembly="Fluent.ListTransfer" %>
...
<fluent:ListTransfer Runat="server" ID="ListTransferEmployees"
ListControlTo="ListBoxProjectMembers"
ListControlFrom="ListBoxEmployees"
EnableClientSide="True"
>
<asp:ListBox ID="ListBoxEmployees" Runat="server"
SelectionMode="Multiple"
CssClass="listbox"
/>
...
<asp:LinkButton Runat="server" CommandName="MoveUpListControlFrom" ><img border="0" src="images/up.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveDownListControlFrom"><img border="0" src="images/down.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveSelected"><img border="0" src="images/right.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveBackSelected"><img border="0" src="images/left.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveAll"><img border="0" src="images/rightAll.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveBackAll"><img border="0" src="images/leftAll.gif"></asp:LinkButton>
...
<asp:ListBox ID="ListBoxProjectMembers" Runat="server"
SelectionMode="Multiple"
CssClass="listbox"
/>
...
<asp:LinkButton Runat="server" CommandName="MoveUpListControlTo" ><img border="0" src="images/up.gif"></asp:LinkButton>
<asp:LinkButton Runat="server" CommandName="MoveDownListControlTo"><img border="0" src="images/down.gif"></asp:LinkButton>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment