Search code examples
c#asp.nethtmlmarquee

adding a Marquee in the middle of an ASP.net Page


I have an ASP.net page with dynamic content that are inside Controls, some of them custom controls and some of them regular ASP.net controls.

Is there a way to get those controls inside a Marquee? maybe an HTML Marquee? These controls are mostly built in this sense:

sometext


sometext


sometext

etc.

Thanks!


Solution

  • I ended up doing this:

    <asp:Literal id="Literal1" text="<marquee>"></asp:Literal>
    some controls
    <asp:Literal id="Literal2" text=</marquee>"></asp:Literal>
    

    Which is very similar to the solution Luke gave, but you can't just use as regular HTML in an asp.net page.