Here is one trivial question, but I am not sure how to handle that. I need to display list of categories on every page, and to be able to choose items from specific category to be displayed. I use asp.net mvc, and chosen to create user control that will display categories. My question is: What is the best approach to pass data to user control. I already found some blog posts
http://weblogs.asp.net/stephenwalther/archive/2008/08/12/asp-net-mvc-tip-31-passing-data-to-master-pages-and-user-controls.aspx
http://blog.matthidinger.com/2008/02/21/ASPNETMVCUserControlsStartToFinish.aspx
I would like also to hear your opinion.
PS. I'd like to hear Jeff's opinion, especially because of his experience with UC's on Stackoverflow