locked
asp imagebutton with lightbox RRS feed

  • Question

  • User226889356 posted

    is it possible to apply a rel="lightbox" to an asp:imagebutton???? if so....please point me towards example....thank you so much.


    Sunday, August 8, 2010 4:50 PM

Answers

  • User226889356 posted

    I very simply put an href around the asp button ...and it worked.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 15, 2010 2:34 PM

All replies

  • User-311685349 posted

    asp:imagebutton renders a <input type="image"... isn't rel="lightbox" for hyperlinks?  If so, use <asp:Hyperlink imageurl="~/images/someImage.jpg" navigateurl="~/somePage.aspx" rel="lightbox" />

    Sunday, August 8, 2010 8:28 PM
  • User226889356 posted

    I very simply put an href around the asp button ...and it worked.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Sunday, August 15, 2010 2:34 PM