master page marquee content change

I have a marquee in my content holder in master(myown.master) pageand several content pages(one.aspx...)
now in each content page i want to have marquess text changed
i am using vs2005 c#
dontnetsanjayAsked:
Who is Participating?
 
Bob LearnedCommented:
You could add a public property for MarqueeText, and strong type the Master page for each page, and set the property to a value:

public string MarqueeText
{
   get { return this.labelMarquee.Text; }
   set { this.labelMarquee.Text = value; }
}

You would use the @MasterType directive in the pages:
   <%@ MasterType  virtualPath="~/MasterPage.master"%>

Bob

0
 
dontnetsanjayAuthor Commented:
thanks bob

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.