imagebutton rollover

Results 1 to 2 of 2

Thread: imagebutton rollover

  1. #1
    Join Date
    Dec 1969

    Default imagebutton rollover

    Howdy!<BR><BR>Does anybody know how to create a rollover for an imagebutton in ASP.NET? I&#039;m using Dreamweaver Ultradev if anybody happens to know how to use that to make it easier. Thanks for any help!

  2. #2
    Join Date
    Dec 1969

    Default RE: imagebutton rollover

    Don&#039;t use Dreamweaver, but the normal way is:<BR><BR>protected System.Web.UI.WebControls.ImageButton imbTest;<BR><BR>private void Page_Load(object sender, System.EventArgs e)<BR> {<BR> if(!IsPostBack)<BR> {<BR> imbTest.Attributes.Add("onMouseOver", ";solid&#039;;;1px&#039;");<BR> imbTest.Attributes.Add("onMouseOut", ";none&#039;");<BR > }<BR><BR>}<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts