开发者

Make span element visible in ItemBound event of repeater

I got this in Repeater's item template

<span style="color: green;" id="TickMark" visible="false" runat="server">&radic;</span>

In ItemBound event intellisense is not detecting this ID "TickMark"

I need to make √ ie Square roo开发者_运维百科t symbol visible inside data bound


Found the control like this :-

((HtmlControl)e.Item.FindControl("TickMark")).Visible = false;

it worked

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜