I was thinking a too much complicated solution.
If I iterate on the page load in all the elements of my repeater and I set
Code:
((System.Web.UI.WebControls.ImageButton)(dItem.FindControl("imgPhoto"))).Attributes.Add("onClick", "scrollTo(0,50);");
Leave a comment: