Click to See Complete Forum and Search --> : ImageButton link


burnt1ce85
01-09-2007, 02:15 PM
Hey everyone.

I have an ImageButton object on an aspx page and i want it to run a specific javascript function (on the client obviously) when the ImageButton object is clicked. How do i do this?

I was not able to find a way to change the link url of the ImageButton.

If someone can help out, that would be great.

burnt1ce85
01-09-2007, 02:53 PM
Hey guys. I instead used a HyperLink object to run a piece of javascript code and simply added a Image object to the HyperLink object (HyperLink.Controls.Add(), incase anyone wants to know).