用于asp.net标签的Marquee [英] Marquee for asp.net label

查看:95
本文介绍了用于asp.net标签的Marquee的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何为listview itemtemplate添加选取框控件?我使用label作为itemtemplate.In listview hvae 12个图像和12个labels.example(如果标签文本=一个,这意味着我不需要选框,但文本=这是在asp.net中的字幕的示例 40个字符意味着我需要一个字幕)..这是可能的。促进感谢

How to add a marquee control for listview itemtemplate? i use label as itemtemplate.In listview hvae 12 images and 12 labels.example(If the label text="One" that means i don't need marquee but the text="This is the sample for marquee in asp.net" above 40 character means i need a marquee)..It is possible.advance thanks

推荐答案

使用以下代码在ASP.Net上的标签上选取框架





Use Following code to marquee on label in ASP.Net


<pre lang="xml"><div>
<marquee direction="right" scrollamount="2" loop="true" width="100%" bgcolor="#ffffff" >
    <asp:Label id="lblMarquee" runat="server" ForeColor="ForestGreen" Font-Bold="True" ></asp:Label>
</marquee>
</div>






















or


<marquee>
<asp:Label ID="Label5m" runat="server" Font-Bold="True" Font-Names="Arial Black"

ForeColor="#109AC1" Text="News"></asp:Label>
</marquee>


嗨...

见这一个。

Hi...
See this one.
<marquee direction="right" runat="server" style="width: 1285px; margin-left: 0px; height: 17px; margin-bottom: 0px;"><strong>
   <asp:Label ID="lblmsg" runat="server" Text="This is Marquee Text Moving From Left to Right !" ForeColor="Red" ></asp:Label></strong></marquee>



谢谢你。


Thank u.


这篇关于用于asp.net标签的Marquee的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆