WorldofASP.NET : ASP.NET Directory, Tutorial, Hosting, and Source Code
You are 1 of 232 users


ASP.NET MVC Tip #31 – Passing Data to Master Pages and User Controls

Blogger : ASP.NET Team Blogs
All posts : All posts by ASP.NET Team Blogs
Category : ASP.NET
Blogged date : 2008 Aug 12

In this tip, I discuss four strategies for passing data to Master Pages and User Controls. I explain how you can pass data by using a code-behind class, by using an action filter, by using method calls, and by using abstract controller base classes. I recommend the final strategy. In this tip, I recommend a method for passing data to your master pages and user controls. However, before I make my recommendation, I first survey a number of alternative solutions to the same problem. The Problem Imagine that you are building a movie database application with the ASP.NET MVC framework. You decide that you want to display the list of movie category links on each and every page in your application. That way, users of the application can quickly navigate...(read more)

Read comments or post a reply to : ASP.NET MVC Tip #31 – Passing Data to Master Pages and User Controls
Page 338 of 1924
Next | Last

.NET News Categories








Legend : - Within 3 Days - Within 6 Days - Within 9 Days

Home | Add Resources | Sponsored Listings | Advertise with Us | SiteMap 1 | SiteMap 2 | Link To Us | Contact Us
© 2002-2008 Worldofasp.net ASP.NET Directory, Hosting and Tutorials | All rights reserved
Our Partners : ASP.NET Web Hosting | Windows Web Hosting | ASP.NET Hosting | Phone Card | PHP Directory | Bangkok Hotels |Calling Card