WebForms is a sort of love/hate thing for me. There are some things I love about WebForms and then there's quite a few things that really cause me a lot of pain. Sadly, the ones that cause me a lot of pain are the ones that stand out. I might turn these into a little series - depending on how many of these gripes show up and how many I can remember! Most of these gripes are probably me just not understanding WebForms correctly, I'm willing to learn so any pointers in the right direction would be good.
LinkButton or Button
There's always the argument of 'Why not use a Button control instead of a LinkButton control?' but the truth is a anchor link is much more customisable than a Button field when it comes to CSS or putting content inside of it.
Why should you care?
How do we fix this problem?
The code for this control can be found over on Alex Papadimoulis' blog here - http://weblogs.asp.net/alex_papadimoulis/a...noscript.aspx
If anyone has a better solution then it'd be fantastic to hear about it,