Wiring Up Events Quirkiness

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • spoonybard
    New Member
    • Nov 2007
    • 19

    Wiring Up Events Quirkiness

    Hi Everyone,

    Recently, when I was trying to wire up an event for a GridView inside an AJAX Accordion, I was doing the wiring up in the code behind. The event never fired. When I moved that declaration into the HTML markup, the event fired and worked properly.

    Just today I experienced the same thing with attempting to wire up an event for a LinkButton inside of a ListView that is contained within an UpdatePanel. I tried putting the event wire up in the code behind and the event never fired. Once again, when I moved the declaration into the HTML markup, the event fired and worked properly.

    Does anyone have any insight into why I have to wire up events this way?

    Thanks.
  • Frinavale
    Recognized Expert Expert
    • Oct 2006
    • 9749

    #2
    What language are you using to implement your solution?
    What are you doing to "wire up" your events? Please post the code (remember to use code tags when posting code snippets).

    Have you seen this article on how to use events in .NET?

    -Frinny

    Comment

    Working...