Why many of ImageButton webcontrol's events are protected!!?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Eyadtrabulsi
    New Member
    • Mar 2007
    • 40

    #16
    raise up to be answered..

    Comment

    • Eyadtrabulsi
      New Member
      • Mar 2007
      • 40

      #17
      Now I got the solution myself, I submit it because might be useful for all after this long while trying to make that simple job..

      We could use .Click instead of .OnClick as follows:

      imageBtt[i].Click += new System.Web.UI.I mageClickEventH andler(ImageBut ton_Click);


      Thanks for all who tried to help me in this..

      Comment

      • mwilber
        New Member
        • Apr 2008
        • 1

        #18
        Thank you so much for posting your solution. I was struggling with this same problem for half a day before i found this thread. Support in the Microsoft community is utterly pathetic compared to the open source community.

        Comment

        Working...