Custom Button Control RRS feed

  • Question

  • User-2033053414 posted

    I am trying to write custom button control, witch consist of three cells, in first one is left button image, in last one is right button image, in the middle is link button and backround is repeated with image.

    And i want that he would look like button, for example if i move mouse on left image, and try to click event would fire. I don't know how to implement click event to table.

    I am writing custom control, witch implement CompositeControl.

    Could anyone advise me on this. How to make table behave like button?. Or should i use other aproaches. Such as ajax control...with witch i am not familiar at all.


    and another question is... How do you do? [:D]


    Friday, April 18, 2008 7:25 AM


  • User-2033053414 posted

     Hmm...I solved it.

    I just added click event to rendered span( By default custom composite control renders to a span).

    Thanks for not helping i apreciate that. 

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Monday, April 21, 2008 5:58 AM