开发者

How can I set asp:Hyperlink text-decoration in code behind?

开发者 https://www.devze.com 2023-03-06 18:59 出处:网络
I have a object referenc开发者_JS百科e to asp:HyperLink.I see it has a Style property inherited from base.But, how can I set text-decoration = none from code behind?You can use:

I have a object referenc开发者_JS百科e to asp:HyperLink. I see it has a Style property inherited from base. But, how can I set text-decoration = none from code behind?


You can use:

myHyperlink.Style.Add("text-decoration", "none");
0

精彩评论

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

关注公众号