I have some image buttons in a repeater that i want to have rollover images.

In the past i've done this with static imagebuttons by adding:
VB Code:
  1. btnLogin.Attributes.Add("OnMouseOver", "this.src='images/Login_over.gif';")
  2. btnLogin.Attributes.Add("OnMouseOut", "this.src='images/login_out.gif';")
To the page_load event.

How can i create a rollover image for an imagebutton thats in a repeater?

Cheers,

Tom.