Hello All,
I have Datalist controll which contains Details of the product like name, discription, price, image of the product, Add to cart button and [B]"Zoom"[/B] etc. Now on click of this "zoom" i want to open a pop up window showing Image of the product.
I tried
Dim lkb_zoom As New System.Web.UI.WebControls.ImageButton
lkb_zoom = dtListDetail.FindControl(“imgbtn_Zoom”)
lkb_zoom.Attributes.Add(“onclick”, “popWin()”)
on both events,on page load and on ItemCommand of datalist but nothing is comming in the lkb_zoom
and no popup window getting error
“Object reference not set to an instance of an object.”
Please kindly provide me the Solution as soon as possible
Thanks in advanced