I have a dropdownlist inside a repeater.And this Dropdownlist comes in every record display in repeater.I want there should no duplicate values be selected from dropdown on client side only.My Code is
<asp:Repeater ID="rep_hello" runat="server">
<ItemTemplate>
<asp:Label ID="lbl" runat="server" Text=' <%#DataBinder.Eval(Container.DataItem, "batchid")%>'></asp:Label>
<%#DataBinder.Eval(Container.DataItem, "batchid")%><br />
<%#DataBinder.Eval(Container.DataItem, "ts")%><br />
<asp:DropDownList ID="drp_comp" runat="server">
<asp:ListItem Value=""></asp:ListItem>
<asp:ListItem Value="1">1</asp:ListItem>
<asp:ListItem Value="2">2</asp:ListItem>
<asp:ListItem Value="3">3</asp:ListItem>
</asp:DropDownList>
</ItemTemplate>
</asp:Repeater>
so please help me.. Thanks in advance.