by Joe Payne
14. September 2008 00:08
Well I needed a break from all the projects this weekend, so I took the challenge of learning how webparts work in .Net. Kind of weird with how they're initially configured, so I skipped all that (isn't life fun when you can do that?) and went straight for making a new webpart.
It's pretty slick - basically you can make any user control into a webpart by using an XML reference file to describe the webpart. The tricky part was finding a useful example of one as it's not included with AC7. Finally some digging through Google turned up some reasonable samples and I was able to get it working.
Now I can create useful admin Dashboard features that are both easy to resell and easy to install. Can't get much better than that. I made a nice article in the AC7 forums here and included a free pie chart web control in case you're interested.