开发者

Telerik Rad Grid Button caption

开发者 https://www.devze.com 2022-12-26 00:34 出处:网络
Hi I\'m looking but can\'t see Is there a way to change the caption on a gridButton on a Telerik RADGrid (on a ASP.NET web page) , depending on another of the bound fields (in this case active) e.g i

Hi I'm looking but can't see

Is there a way to change the caption on a gridButton on a Telerik RADGrid (on a ASP.NET web page) , depending on another of the bound fields (in this case active) e.g if active = true text = "Disable", if acti开发者_Go百科ve = false then text "Enable"

I have resolved the issue by iterating through the e.items on the databound event, but wonder if there a 'cleaner' method for doing this

Cheers


OnItemDataBound would be the right place.

0

精彩评论

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