开发者

Make span element visible in ItemBound event of repeater

开发者 https://www.devze.com 2023-01-29 19:46 出处:网络
I got this in Repeater\'s item template <span style=\"color: green;\" id=\"TickMark\" visible=\"false\" runat=\"server\">&radic;</span>

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

精彩评论

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