i need a control that get's binded to datalist on page scroll from client-side,and displays Text = "Add To Cart",attribute and has got onClick event,which passes the attribute as parameter to a method.......
right now i m using linkbutton,but it not working on page scroll.....
<asp:LinkButton ID="lbtnAddtocart" runat="server" CommandArgument='<%#Eval("ProductId")%>'
BackColor="Green" Font-Bold="true" Text="Add To Cart" Width="150px" BorderColor="Black"
BorderStyle="Inset" BorderWidth="2px" ToolTip="Add To Cart" OnClick="lbtnAddtocart_Click"></asp:LinkButton>
thanks in advance..............