master page marquee content change

Posted on 2007-08-10
Last Modified: 2008-02-01
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#
Question by:dontnetsanjay
    LVL 96

    Accepted Solution

    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"%>



    Author Comment

    thanks bob


    Featured Post

    Free Trending Threat Insights Every Day

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Today is the age of broadband.  More and more people are going this route determined to experience the web and it’s multitude of services as quickly and painlessly as possible. Coupled with the move to broadband, people are experiencing the web via …
    IntroductionWhile developing web applications, a single page might contain many regions and each region might contain many number of controls with the capability to perform  postback. Many times you might need to perform some action on an ASP.NET po…
    This video is in connection to the article "The case of a missing mobile phone (". It will help one to understand clearly the steps to track a lost android phone.
    In this sixth video of the Xpdf series, we discuss and demonstrate the PDFtoPNG utility, which converts a multi-page PDF file to separate color, grayscale, or monochrome PNG files, creating one PNG file for each page in the PDF. It does this via a c…

    746 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    16 Experts available now in Live!

    Get 1:1 Help Now