I can't believe how inflexible and generally tulipe ASP.NET 2.0 is.
Problem is this...
Building a page with loads of dynamic controls (images, hyperlinks, checkboxes, buttons etc. etc.).
Some of these controls need event handlers for clicks etc.
Ok. Me creates EventHandler and += it to the Click event, say.
Trouble is, when I click the dynamic control, I get the postback, but it doesn't fire my event handler.
Googled for hours on this, and many have the same problem but no solution seems to exist. This worked in ASP.NET 1.1. MS does not acknowledge it as a bug!
WTF do I do now - and don't say use a GridView
Problem is this...
Building a page with loads of dynamic controls (images, hyperlinks, checkboxes, buttons etc. etc.).
Some of these controls need event handlers for clicks etc.
Ok. Me creates EventHandler and += it to the Click event, say.
Trouble is, when I click the dynamic control, I get the postback, but it doesn't fire my event handler.
Googled for hours on this, and many have the same problem but no solution seems to exist. This worked in ASP.NET 1.1. MS does not acknowledge it as a bug!
WTF do I do now - and don't say use a GridView

Comment