i want to use marquee control in asp.net2005 application.please tell me how to use it?

i want to use marquee control in asp.net2005 application.please tell me how to use it?

[ in the design page go to source and type the following code <marquee direction ="up" scrollamount="5" scrolldelay ="5" style = "font-family:comic sansms: font size:large; color:red height:161px";> <p> <A> HAI</A> </p> <marquee> ]]

i want to use marquee control in asp.net2005 application.please tell me how to use it?

Using marquee in ASP.net

===In Default.aspx===

<form id="form1" runat="server">
    <div>
     <asp:Literal ID="Literal1"   runat="server"></asp:Literal>
    <asp:AdRotator ID="AdRotator1"  AdvertisementFile="~/ads.xml" runat="server" Target="_blank" OnAdCreated="AdRotator1_AdCreated" />
    <br /><br /><br />
    <asp:HyperLink runat="server"  ID="lnkBanner"></asp:HyperLink>
    </div>
    </form>

===In Default.aspx.cs===

protected void Page_Load(object sender, EventArgs e)
    {
        string str = "<img src=\"E:/Xyz/AdvRotater/images/roses.jpg\" width=\"20%\" />";
        string text = "<MARQUEE>" + str + "</MARQUEE>";
        Literal1.Text = text+"<hr />";
    }
    protected void AdRotator1_AdCreated(object sender, AdCreatedEventArgs e)
    {
        lnkBanner.NavigateUrl = e.NavigateUrl;
        lnkBanner.Text = "Click";
        lnkBanner.Text = lnkBanner.Text + e.AlternateText;
    }

===ads.xml===

<Advertisements>
	<Ad>
<ImageUrl>file:///E:\Xyz\AdvRotater\images\home1.png</ImageUrl>
		<NavigateUrl>http://www.java2s.com</NavigateUrl>
		<AlternateText> A</AlternateText>
		<Impressions>1</Impressions>
		<Keyword>books</Keyword>
	</Ad>
	<Ad>
		<ImageUrl>file:///E:\Xyz\AdvRotater\images\home2.jpg</ImageUrl>
		<NavigateUrl>http://www.roseindia.net</NavigateUrl>
		<AlternateText> J</AlternateText>
		<Impressions>1</Impressions>
		<Keyword>Java</Keyword>
	</Ad>
</Advertisements>

i want to use marquee control in asp.net2005 application.please tell me how to use it?

First of all make user control and use it in your web application.
Ex:-In ascx page :
<marquee height="100%" scrollamount="2" align="middle" direction="down" onmouseout="this.start();"
onmouseover="this.stop();">

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<%=strRoothPath%>View/images/box1-top-left.gif" width="4" height="4" /></td>
<td class="box-top1"><img src="<%=strRoothPath%>View/images/box1-top.gif" width="4" height="4" /></td>
<td><img src="<%=strRoothPath%>View/images/box1-top-right.gif" width="4" height="4" /></td>
</tr>
<tr>
<td width="4" class="box-left1"><img src="<%=strRoothPath%>View/images/box1-left.gif" width="4" height="4" /></td>
<td class="adsright"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center"><img src="<%=strRoothPath%>View/images/ad1.gif" width="143" height="130" /></td>
</tr>
</table>
</marquee>

Now use this ascx file in your .aspx page

Hi,ritika,It will really help you.
First add panel to webpage.Then write the following code in source:
<asp:panel>
<marquee direction="up">
ABC<br>
DEF<br>
GHI<br>
Notice<br>
</marquee>
</asp:panel>

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.