Hi all,
Trying to follow the last suggestion on this page here:
http://stackoverflow.com/questions/1071920/set-property-value-on-master-page-from-content-page
Basically it's just creating a simple class that pages will inherit from so that a content page will have to set a value that the master page can read from. My code in my class file looks like this:
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
/// <summary>
/// Summary description for BasePage
/// </summary>
public abstract class BasePage : System.Web.UI.Page
{
protected abstract int NavHighlight { get; }
protected override void OnLoad(EventArgs e)
{
base.OnLoad(e ...
Go to the complete details ...