Hello,
I have an ImageButton inside of a gridview (in the footer row) and when it is clicked I expect it to be handled by the click method in the code-behind (VB). For some reason, when it is in an update panel this doesnt happen. The page refreshes but no event is fired and thus my function is never called. I cannot, for the life of me, get the button to trigger any event. The button is created programatically by:
m_ButtonDownload = New Web.UI.WebControls.ImageButton
m_ButtonDownload.ID = "ButtonDownload"
m_ButtonDownload.SkinID = "ButtonDownload"
m_ButtonDownload.ApplyStyleSheetSkin(Me.Page)
m_ButtonDownload.Style("width") = "auto"
Cell.Controls.Add(m_ButtonDownload)
Which then is supposed to call:
Private Sub m_ButtonDownl ...
Go to the complete details ...