<asp:Repeater ID="productdetailsauto" runat="server"> <HeaderTemplate></HeaderTemplate> <itemtemplate> <!-- Products Single Box --> <li class="span3"> <div class="thumbnail"> <a href="#" class="thumb"><img src='data:image/gif;base64,<%#Eval("img64") %>' alt="Product" /></a> <p><a href="#"><%#Eval("Product_Name")%></a></p> <p class="price"><span>2</span></i__^^__i class="icon-star"__^<span>3</span>^__i class="icon-star-half-empty"><span>4</span>^__i class="icon-star-empty"><span>5</span></p> <input id="btnaddtocart" type="button" value="Add to Cart" class="btn" onclick="Redirect2()"/> <input id="hidproduct2" type="text" value='<%#Eval("Product_Id")%>' /> <script type="text/javascript"> function Redirect2() { var t2 = document.getElementById("hidproduct2").value; window.location = 'productdetails.aspx?t2=' + t2; t2 = ""; } </script> <a href="#" class="add-list">^__i class="icon-star">Wish List</a><a href="#" class="add-comp">^__i class="icon-tasks">Compare</a><span class="new">New</span></div> </li> </itemtemplate>
Window.open('productdetails.aspx?t2=' + t2);
window.location = 'productdetails.aspx?t2=' + t2;
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)