ASP.NET: Change ImageURL on Imagebutton

Posted on 2008-11-06
Last Modified: 2013-11-07
Hi All,

I've searched extensively, but have not come up with a solution for this.

I am using a standard ImageButton on my webform and would simply like to change the image when the ImageButton is enabled or disabled.

I've looked into extending or creating a new web control based on this, but my version of Viual Studio 2005 does not seem to have a Web Controls Library template.

Is there any other way to accomplish this?

Question by:knuckle05
    LVL 20

    Expert Comment


    How do you enable / disable the imageButton? Using javascript or via server-side code?
    LVL 13

    Accepted Solution

    just put this check


    Featured Post

    Highfive Gives IT Their Time Back

    Highfive is so simple that setting up every meeting room takes just minutes and every employee will be able to start or join a call from any room with ease. Never be called into a meeting just to get it started again. This is how video conferencing should work!

    Join & Write a Comment

    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    Problem Hi all,    While many today have fast Internet connection, there are many still who do not, or are connecting through devices with a slower connect, so light web pages and fast load times are still popular.    If your ASP.NET page …
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…
    This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor ( If you're looking for how to monitor bandwidth using netflow or packet s…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now