Aniruddh Kewat

Aniruddh Kewat

  • NA
  • 30
  • 20.8k

which control should i use to bind the datalist on pagescrol

Jun 30 2015 5:19 PM

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.............. 

Answers (1)