It sounds like you are creating UserControls using inline code and then copying code from my usercontrols that do not use inline code.
A developer could set a breakpoint and find out which object is null. I suspect its because you have not declared the WebControls in your inline UserControl. You have to declare TextBoxes DataLists, DataGrids or any other control you want to reference in code.
When using the code behind model they get generated for you automatically in the .designer.cs file but in inline code you have to declare them yourself. Any experienced ASP.NET developer should know this.
I will say that your whole approach to getting my help has been pushy and trying to pressure me and I don't appreciate it one bit.
You first posts you asked about skins and UI customization I pointed you to a page that had the exact answers and you did not understand.
Your next question was about how to show the recent blog posts and I told you how to do it using a Feed Manager in conjunction with the blog, but you did not understand. So you start hacking on UserControls to solve it yourself which is this very thread.
All the while I'm seeing complaints on twitter and I was pretty sure it was you http://twitter.com/joinvivek since each complaint corresponded with your forum posts. Thats makes me not want to help you. It seems you only just created a twitter account so you could complain about things especially mojoPortal.
And finally you posted the same question in the IssueTracker on Codeplex and announced yourself with your true identity and the fact that you are an MVP in ASP.NET. This connected all the dots for sure.
I don't appreciate it, you stressed me out for several days, distracted me from my own work and made me very angry. Some people in this world give and give freely of the the fruits of their labors and others just take and complain. mojoPortal is a labor of love for me but no-one here including me is under any obligation to ever answer forum posts. I don't work for you and the fact that I share my work with you does not obligate me in any way to care about your projects and the difficulties you are having. Any respponse I make is a kindness and if its repaid in unkindness like twitter complaining then you will get no further help.
Joe Audette